Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 953b676d0a10f05de39a09f192fc7c43 > files > 3

arm4-0.8.2-5.fc12.src.rpm

#!/bin/sh

# Because of the way find works, this will actually add a day to the archive
MAX_AGE='+30'

# Archive the current data
/usr/bin/arm4_control archive

# Remove older archives
find /var/lib/arm4/data/backup -ctime $MAX_AGE -exec rm -rf {} \; > /dev/null 2>&1