Skip to content

Instantly share code, notes, and snippets.

@mhaligowski
Created September 4, 2012 11:51
Show Gist options
  • Save mhaligowski/3620553 to your computer and use it in GitHub Desktop.
Save mhaligowski/3620553 to your computer and use it in GitHub Desktop.
Recreate the subdirectories structure
#!/bin/bash
(cd new/dir; find . -type d ! -name !.) | xargs mkdir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment