On Sun, 17 Jul 2011 18:40:44 -0700, Grant wrote: > Alright, find is tricky. Is this the right spot for -delete? > > /usr/bin/find /home/user -type f -name "*-`/bin/date -d 'yesterday' > +\%Y\%m\%d`*.jpg" - delete
Yes, but if you don't want irreversible mistakes, move the files instead.
find /home/user -type f -name blah -exec mv -t ~/.Trashcan "{}" +
--
Neil Bothwick
The facts, although interesting, are usually irrelevant.
signature.asc
Description: PGP signature

