Created
December 4, 2013 17:49
-
-
Save peterdemartini/7792190 to your computer and use it in GitHub Desktop.
CPIO Copy Directory Command. Great for moving all files including hidden.
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
cd /path/to/original/location | |
find . -depth -print | cpio -pdum /path/to/new/location |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment