>> 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 "{}" +

Thanks Neil and everyone.

- Grant

Reply via email to