Hi,
I have files concatenated with day of the year in a folder.
Say as
Jan 1st - aaa.001.txt
Feb 3rd - aaa.034.txt etc.
which I get with `date +%j`
I now need to archive files older than a month. my program works for forward dates other than January.
Being in Feb, I can delete files older...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.