Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 6078952f32fc06a1185913d7abced47c > files > 2

arm4-0.8.2-8.fc16.i686.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