Last active
March 11, 2020 09:23
-
-
Save evdokimovm/e1ea05a706c38db2e9827d294ac64ce4 to your computer and use it in GitHub Desktop.
copy all files with specific extension using grep. supports files with spaces in their titles also.
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
ls | grep "png" | xargs -d "\n" cp -t $target_dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment