Created
January 16, 2017 21:30
-
-
Save eriknelson/5b386e24b979e5461f1a99519c9a0f4c to your computer and use it in GitHub Desktop.
rsync grep matched files
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
# Reads --files-from - (stdin) | |
ls -A1 | grep -E "(E1[0-2])|(E0[5-9])" | rsync -arvsP --files-from - ./ [email protected]:/nas/tv/Duder\ Spaced/Season\ 2\ 264 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment