Created
September 29, 2021 19:11
-
-
Save aaronwolen/680aff45e49ea5a79845789e6ea73a6d to your computer and use it in GitHub Desktop.
Find and rename 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
| while read line; do | |
| mv -v "$line" "${line// - /}" | |
| done < <(find . -name '* .png') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment