Moved scripts

This commit is contained in:
2015-02-04 23:38:22 +01:00
parent 0bee7afa7c
commit c3c1fde15f
6 changed files with 107 additions and 0 deletions

6
scripts/clean Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Remove all downloads older than 2 days
find /home/tim/Downloads -mtime +2 -exec rm -R {} \;
# Remove all empty folders
find /home/tim/Download/* -type d -empty -exec rmdir {} \;