Skip to content

Instantly share code, notes, and snippets.

@kalkulus
Created August 21, 2015 07:49
Show Gist options
  • Save kalkulus/7d9a1c21bdde0fe8b182 to your computer and use it in GitHub Desktop.
Save kalkulus/7d9a1c21bdde0fe8b182 to your computer and use it in GitHub Desktop.
copy directory structure from one folder to the other, without the files
cd /path/to/directories && find . -type d -exec mkdir -p -- /path/to/backup/{} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment