I am trying to take a weekly archive of a folder to separate zip files.
find . -name '*.txt' -ctime +7 -exec zip "archive-$("date+%Y-%U").zip" {} \;
I am stuck on how to name the zip file. Any alternate way to do this would also be welcome. (like better compression using 7z or something else)