I have a directory tree containing a mixture of source and
product files. All the products are newer than any source.
The names are not distinctive. I want to delete the products.
I could:
find dir itype f -mtime -xxx -exec rm {} \;
I have a reference file, newer than the sources ; older than
the products.
Ironically, the challenge is determining "xxx". Find requires
that it be not absolute, but relative to the time the command
is run.
Any suggestions for computing this?
--
Thanks,
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN