Originally posted by pranav610
I have a cron job that runs evrery day to back up files. Script it runs creates a folder with system date ie. Cron runs today April 21, 2004 folder name will be "BackupFor04212004".
I need a bash script that will recycle these folder names so that at any given time, there are only 7 folders.