in reply to Seeking help on a backup script

Chose a name scheme like BACKUP-$DATE.tar.gz, create a directory listing and sort it newest first. Then the first three elements in the array are to keep, the others to delete.


holli, /regexed monk/