[olug] find a -d 1 -type d -exec cp -R {} b/ \;

Rob Townley rob.townley at gmail.com
Sun Feb 13 06:31:15 UTC 2011


> 18:05 < jhannah> find a -d 1 -type d -exec cp -R {} b/ \;
> 18:05 < jhannah> substitute a for whatever your source directory is and b for whatever your target directory is

find is nice for that.  Do the curly braces {} denote a parameter
passed from find?



More information about the OLUG mailing list