# Copy specified file/directory and keep folder structure
find . -name 'filename.ext' -exec cp --parents \{\} [target directory] \;
References
Last Update 2017/01/06 11:52:04 +0900
find . -name 'filename.ext' -exec cp --parents \{\} [target directory] \;
References
Last Update 2017/01/06 11:52:04 +0900