7 lines
193 B
Bash
Executable File
7 lines
193 B
Bash
Executable File
#!/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 {} \;
|