find ... | perl -ne 'print join(" ", time, $_)' | tee [-a] logfile | awk '{print $NF}' | xargs /bin/rm -f
or
find ... | perl -ne 'chomp; unlink && print join(" ", time, $_), "\n"' | tee [-a] logfile
--MidLifeXis
In reply to Re: Logging deleted files
by MidLifeXis
in thread Logging deleted files
by ppantazis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |