Last active
December 17, 2015 07:58
-
-
Save seblavoie/5576430 to your computer and use it in GitHub Desktop.
Bash line to copy folder structure only (not files) contained in current folder. Inspired by: http://www.linuxquestions.org/questions/linux-newbie-8/copy-directory-structure-only-208796/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run from source folder’s root. | |
find . -type d -exec mkdir ../destination-folder-name/{} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment