How do people typically manage file retention and purging of old files?
My workflow currently consists of saving a file with the format yyyy-mm-dd - tag - subtag or description.extension.
The file sits in a ‘24 hour’ folder (which makes it easier to find when I want to email it, or work on it after a short break).
After 24 hours Hazel moves it to the ‘AutoFile’ folder from where it gets filed using the - tag - and, if appropriate, sub filed by date or a subtag (if it exists) - there are different rules for different filename tags.
All of this is great for the creation, distribution and filing, side of things but there is zero differentiation between stuff I need to keep for a few weeks and stuff that needs to be retained for a few years or in perpetuity.
It is not worth differentiating between a few days and 6 months (disk space is cheap) so I would probably have 6 months as a default for ‘review’ if no other time is set.
I am toying with the idea of adding a code to the filename that Hazel could then recognise, replace with a ‘proper’ MacOS tag and strip from the name. Something along the lines of R1Y (Retain 1 Year), R6M (Retain 6 Months), RPY (Retain forever) etc.
Hazel would translate a file saved today (November 25) with R1Y into the tag ‘DEC26’, R6M into ‘JUN26’ etc.
Come December 26 a Smart Folder could collect for review all the files that have a tag of ‘DEC26’, the vast majority would be sent to the bin, if, on reflection, the file needs to be kept the tag is changed manually to the new review date.
Before I go to the effort of setting this up (and seeing if I can get Hazel to work out the tag needed for R6M, RxY (where x is a number) without needing to update the rules each month) - is there a better way?