How can you tell what is a product file? You would have more logic available using something like Python.
Sent from Yahoo Mail for iPhone On Sunday, November 9, 2025, 7:47 PM, Paul Gilmartin <[email protected]> wrote: 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
