Computer Scientist

Monday, 7 February 2011

Touch files in a directory recursively

Using the following command is able to touch files recursively:

find . -print0 | xargs -r0 touch

where . is the current directory and the option r of xargs is specific for GNU xargs.






No comments:

Post a Comment