**prune.sh** =====Objective===== Perform maintenance on backups (remove excessively old copies to save disk space). =====TODO===== * look into being able to merge the nfs and sokraits/halfadder versions of the script they look to be pretty much cut from the same cloth, verify this. * do some simple error checking (just in case) =====Prerequisites===== In order to use **prune.sh**, the following conditions need to be met: * run as root (or superuser privileges) * run on the primary fileserver, or either VM Server peer =====Usage===== To use **prune.sh**, run it with the appropriate data element as an argument to check: sokraits:~$ sudo /export/backup/prune.sh username Preferred deployment is through the script that creates the backup files (so it cleans up as it goes along). =====Script===== extern> http://lab46.corning-cc.edu/haas/content/scripts/prune