Snippets
From fakedWiki
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/{}"