Group :: Sistema/Kernel e hardware
RPM: mithraen-utils
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
cleanup-tmp 0000755 0000000 0000000 00000000660 12047574302 0013235 0 ustar 00root root 0000000 0000000 #!/bin/sh
find ~/tmp -type f -atime +3 -delete
find ~/tmp -type d -empty -atime +1 -delete
find ~/tmp -maxdepth 1 -type f -name 'rpm-tmp.*' -atime +1 -delete
find ~/tmp -maxdepth 1 -type d -name '*-buildroot' -atime +1 -print0 \
| xargs -0r rm -rf --
if [ -n "$USER" ]; then
find /tmp/.private/$USER/* -mindepth 1 -type f -atime +1 -delete
fi
if [ -n "$TMPDIR" ]; then
find $TMPDIR/* -mindepth 1 -type f -atime +1 -delete
fi