#!/bin/bash
# sudo $(nice ionice -c 3 find / \( -regex '^.*\.~[0-9]+~' -o -name '*~' -o -name '.?.*~' \) -type f -mtime +32 -print0 | xargs -r0 rm -f) || \
sudo $(nice find / \( -regex '^.*\.~[0-9]+~' -o -name '*~' -o -name '.?.*~' \) -type f -mtime +32 -print0 | xargs -r0 rm -f) || \
#      $(nice ionice -c 3 find / \( -regex '^.*\.~[0-9]+~' -o -name '*~' -o -name '.?.*~' \) -type f -mtime +32 -print0 | xargs -r0 rm -f)
     $(nice find / \( -regex '^.*\.~[0-9]+~' -o -name '*~' -o -name '.?.*~' \) -type f -mtime +32 -print0 | xargs -r0 rm -f)
# the backup files are already cloned to our rsnapshots and from there to our darchives by the time they are a month old.


syntax highlighted by Code2HTML, v. 0.9.1