Created
September 13, 2012 15:27
-
-
Save joemaller/3715084 to your computer and use it in GitHub Desktop.
shell one-liner to rename @2x files so they work with compass sprites
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
ruby -e 'Dir.glob("*@2x.*").each { |f| %x[ git mv #{f} #{f.gsub("@", "_")} ] }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment