Skip to content

Instantly share code, notes, and snippets.

@joemaller
Created September 13, 2012 15:27
Show Gist options
  • Select an option

  • Save joemaller/3715084 to your computer and use it in GitHub Desktop.

Select an option

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
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