Last active
August 29, 2015 14:02
-
-
Save eresende/7cdbf91b1f3abfbec19b to your computer and use it in GitHub Desktop.
Copy files with specific pattern and maintain directory 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
rsync -avr --exclude '*.ext.php' --include '*/' --include 'pt_PT.*' --exclude '*' --prune-empty-dirs ~/source ~/dest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment