-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,45 @@ | ||
# FileBot | ||
FileBot is simple file manager to automation your boring action with files e.g. moving to trash, another directory or renaming files | ||
|
||
FileBot is simple file manager to automation your boring action with files e.g. moving to trash or another director | ||
|
||
# Configuration | ||
|
||
## Flags | ||
|
||
```text | ||
Usage: | ||
filebot [flags] | ||
Flags: | ||
-c, --config string specific path for filebot configuration (default "/home/wittano/.config/filebot/setting.toml") | ||
-h, --help help for filebot | ||
-l, --log string path to log file | ||
--logLevel string log level (default "INFO") | ||
-u, --updateInterval duration set time after filebot should be refresh watched file state (default 10m0s) | ||
``` | ||
|
||
## Configuration file | ||
|
||
```toml | ||
# Example configuration for moving some files to another location | ||
[Example] | ||
src = ["/path/to/example.txt"] | ||
dest = "/path/to/destination/directory" | ||
|
||
# You can use standard regular expression seeking your files | ||
[SearchFilesByRegex] | ||
src = ["/path/to/example.*", "/path/to/[0-9]ystem.txt"] | ||
dest = "/path/to/destination/directory" | ||
|
||
# Automaticlly move your unnecessary files to Trash directory | ||
[MoveToTrash] | ||
src = ["/path/to/your/junk-file.*"] | ||
moveToTrash = true | ||
after = 32 # Time a last modification(in days), after that files will be moved to trash | ||
|
||
# Some files you don't want to move or touch by program. You can add specified file to exception list | ||
[Exception] | ||
src = ["/some/files.*"] | ||
dest = "/path/to/desctination" | ||
exceptions = ["files.pdf", "files.ini"] # Put only file name | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters