I'm trying to write a line in my bash script that will take all the subdirectories that exist in the working directory that are older than 7 days and zip them up into one zip file, then delete those subdirectories.
Any guidance would be much appreciated!