4 ms·
Pretty broad question. One thing I suggest: Do not keep downloads in your home directory. Keep them in a directory under /tmp. This avoids accumulation of downl
by oftenwrong 8y ago
Pretty broad question. One thing I suggest: Do not keep downloads in your home directory. Keep them in a directory under /tmp. This avoids accumulation of download clutter.
- wingerlang 8y agoI use Hazel to continuously trim downloads. Every time a file is 14 days old it is moved into a 'review' folder and I get a notification about it. This gives me a steady stream of old files to either delete or move into a proper folder. Sure I could do it in the download folder directly as well, but in reality I had to go through 100s of files every few months which can be annoying. I wrote about it a few years ago here and I do it still http://jontelang.com/blog/2015/08/17/hazel-is-great.html http://jontelang.com/blog/2015/08/17/hazel-is-great.html
- akulbe 8y agoHazel is amazing. That said... I'm no longer a Mac user. There are no good Windows equivalents. I wish I had enough programming knowledge to write a truly cross-platform equivalent. This is a serious itch I'd like to scratch.
- oftenwrong 8y agoJust for fun, I tried to do something similar with a shell script: set -eu AGE_LIMIT=$(( `date +%s` - (14 * 86400) )) for FILE in ~/Downloads/* do if [ -e "$FILE" ] then export `stat -s "$FILE"` if [ $st_birthtime -lt $AGE_LIMIT ] then mv "$FILE" "~/Needing review/" fi fi done Run it from cron. Typical caveats of shell scripts apply!
- b_rodriguez 8y agoI imagine you could instead do it like this: find ~/Downloads -Btime +14d -exec mv {} ~/Needing\ review \; Some changes may be necessary as I am not able to test it right now
- fabiomaia 8y agoVery smart use of /tmp