Automatically manage your folder.
- Download binary file in release page
- Download
conf.yml
and place it in the same folder with binary file - Configure settings in
conf.yml
:
verbose: # verbose output, false as default
targetdir: # the folder you want to manage, you can set it within the program. Last setted folder will be remembered.
tmpbin:
enable: # whether to use tmpbin, false as default
name: tmpbin/ # name of tmpbin, "tmpbin/" as default
treshday: 30 # files not modified for more than this long will be moved into tmpbin, 30 days as default
deleteday: 30 # files in tmpbin for more than this long will be deleted, 30 days as default
- Set your rules in
rules.yml
: (Currently support 10 rules utmost)
rule1:
enable: true
name: document
regex:
- ".*?.doc"
- ".*?.docx"
- ".*?.pdf"
threshday: 7
maxsize: # MB
minsize: # MB
rule2:
...
- Automatic
- Temp trash bin
- Customize rules
go get -u github.com/asticode/go-astilectron-bundler/...
go install github.com/asticode/go-astilectron-bundler/astilectron-bundler
astilectron-bundler