Organize all files in a given folder by date. This is commonly used to organize a “Downloads” folder. Currently this script will only move files more than 24 hours old. This is to protect against moving a file as it is downloaded.
Motivation
I love SafariStand. One of the features that I love is the sort-downloads-by-date feature. Now that I have moved to Firefox I really miss this feature. I been unable to find a good extension that will sort my downloads in a similar way. This script was written as an simple way to fill that gap.
Setup
I keep a ~/bin directory where I keep simple scripts such as this. Then setup a crontab such as the following:
a simple script to organize downloads
Description
Organize all files in a given folder by date. This is commonly used to organize a “Downloads” folder. Currently this script will only move files more than 24 hours old. This is to protect against moving a file as it is downloaded.
Motivation
I love SafariStand. One of the features that I love is the sort-downloads-by-date feature. Now that I have moved to Firefox I really miss this feature. I been unable to find a good extension that will sort my downloads in a similar way. This script was written as an simple way to fill that gap.
Setup
I keep a ~/bin directory where I keep simple scripts such as this. Then setup a crontab such as the following:
Acquiring
It is available on github: here (raw).
or