Jonathan, [ To my knowledge, this is not Cygwin-specific. ]
Here's one simple way: rtouch() { touch $(find "$@"); } Rather slower, but unlimited by maximum argument list length limit: rtouch() { find "$@" -exec touch '{}' ';' ; } If you want to be able to include touch options, then you'll need to make a pass over the arguments, culling options into one array and file or directory arguments into another and then making one or the other of the touch / find invocations. I'll leave that "as an exercise for the reader." Randall Schulz Mountain View, CA USA At 22:20 2002-01-18, you wrote: >Is there any way of touch-ing recursively? > >------------------------------------------ >Jonathan Simms -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/