Last active
December 20, 2015 12:39
-
-
Save getdave/6132403 to your computer and use it in GitHub Desktop.
Rename a bunch of files and append a suffix before the file extension. Particularly useful for anyone using Grunticon's filename-based colour manipulation. https://github.com/filamentgroup/grunticon/issues/57
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
for f in *.svg; do mv $f `basename $f .svg`.colors-white.svg; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also useful for Grunticon is this bit of regex which removes height (or width if you alter) attributes from SVG files.