4 lines
180 B
Bash
Executable file
4 lines
180 B
Bash
Executable file
#!/bin/bash
|
|
|
|
find /Users/luzifer/Downloads ! -name '.*' -mtime +12h -exec mv "{}" /Users/luzifer/.Trash/ \;
|
|
find /Users/luzifer/.Trash ! -name '.*' -mtime +2d -exec rm -rf "{}" \;
|