Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # m h dom mon dow command
- # remove ~/Downloads dir
- * * * * * rm -rf ~/Downloads;
- # remove downloaded files without access in last 60 minutes
- * * * * * find ~/downloads/* -name "*" -amin +60 -delete;
- # mv files in home dir to download dir
- 0 * * * * find ~/ -maxdepth 1 -type f ! -name '.*' -exec mv {} ~/downloads/ \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement