-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to [email protected] on 9/15/2009 5:16 PM: > It seems there is no way to tell find to look before it leaps, > > $ find /tmp -user $LOGNAME -type f -mtime +1 -exec rm {} \;
Have you looked at using -ok instead of -exec? - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkq1AIYACgkQ84KuGfSFAYBVqwCghwhrQGM2jF1YtJjLZSeHHI3c omsAoJbk1fW9ldPF68kK5idzVC1sZEZ5 =yMpt -----END PGP SIGNATURE-----
