Skip to content

Instantly share code, notes, and snippets.

@bradcordeiro
Created June 1, 2017 22:38
Show Gist options
  • Save bradcordeiro/3a330dc855073d7822237734999449db to your computer and use it in GitHub Desktop.
Save bradcordeiro/3a330dc855073d7822237734999449db to your computer and use it in GitHub Desktop.
Copy directory structure and file names without file content
find . -type d -exec mkdir -p destination/"{}" ;
find . -type f -exec touch destination/"{}" ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment