Shell Backup Scripts Retention

The right path to follow for a script that backs up some tar files keeps retention of the files created, for example the last 5 and the last of each month for a year.

Is it to create a dictyonary files data and perform reordering operation on it?

I use csh shell but I accept advice on this

Thank you
 
Back
Top