]> apps.delaporte.us Git - down-shift.git/blob - README.md
753eddc89d43ffc166d57206c3618edfbd312099
[down-shift.git] / README.md
1 # About
2
3 A deeply lazy command line solution for automatically cleaning up ~/Downloads on Linux (and probably Mac).
4
5 `down-shift` moves files in `~/Downloads` older than 3 days into a new folder named `~/Downloads/MM-archived`. (Where `MM` is the current month.)
6 `down-shift` moves folders in `~/Downloads` older than 10 days into a new folder named `~/Downloads/MM-archived`. (Where `MM` is the current month.)
7
8 `wipe-down` moves any file older than 60 days into `tmp/trashed_from_downloads`.
9
10 Depends on `bash`, `find`, `mv` and `rm`.
11
12 ## Setup
13
14 Clone this project and put the two executables somewhere on your `PATH`.
15 Then add `down-shift` and `wipe-down` to `crontab`.
16 Or schedule them any other way you please.
17
18 See `crontab.example` and `bashrc.example` for ideas.