abjorshammar/IBEX-Backup — pull request #1 by andreas-beskow (2014-05-08 15:22:32+00:00)
Title: Added support for deleting files (the previous version only supported re...

...moval of folders).

For the script to delete files instead of folders, the "f"-flag should be used when executing the script, e.g.:

./cleanup.sh -d /mnt/online-storage-01/dbbackups/prepared -t 10380 -f -v
(Will delete files older than 10380 minutes located in the "prepared"-folder.)

NOTE! When running the script using the "f"-flag only single files will be deleted. Folders will stay untouched.