Snippets: Difference between revisions
From fakedWiki
(No difference)
|
Revision as of 13:37, 12 August 2011
Copy certain folders from a tree with full path
find htdocs/ -type d -iwholename "*/*src*/*" -exec mkdir -vp /srv/_tmp/{} \; find htdocs/ -type f -iwholename '*/*src*/*' -print0 | xargs -0 -I{} cp -v "{}" "/srv/_tmp/{}"