From: Ammar Ali Date: 2011-08-30T08:57:37+09:00 Subject: Re: [ANN] cdexec v0.1 --0015174c4570b7647404abada8e7 Content-Type: text/plain; charset=UTF-8 On Sun, Aug 28, 2011 at 8:14 PM, Intransition wrote: > I'm sure there's a number of ways to do the same thing with shell > coreutils, but my search turned-up nothing quite as concise as I > wanted. But do let me know if you know of any (if there turns out to > be a concise way I did not know about, I would rather use standard > tools, of course!) > find, from findutils, has -exec. It is very handy when it comes to iterating and processing files and directories with many options. The following will pass all files in the current directory that have been modified in the past 20 days through the processing_script: $ find . -type file -mtime -20 -exec processing_script \{\} \; HTH, Ammar --0015174c4570b7647404abada8e7--