Created
May 19, 2017 21:04
-
-
Save bgadrian/eaa4173ec3ba94161e7798886e038643 to your computer and use it in GitHub Desktop.
Copy/rebuild a folder structure
This file contains 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
#go to source | |
find . -type d -print0 > dirs.txt | |
#go to destination | |
xargs -0 mkdir -p < dirs.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment