PhoenixWiki

Sun will shine on the horizon.
System Administration

Handy Commands & Scripts

# 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