Created
August 17, 2018 02:21
-
-
Save ethagnawl/89a517441f5bf49d83c5eb62a705cda8 to your computer and use it in GitHub Desktop.
copy multiple files and rename using regex
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
for file in crushed-*; do cp "$file" "${file/crushed-/}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment