Skip to content

Instantly share code, notes, and snippets.

@Walkeryr
Created October 2, 2013 08:38
Show Gist options
  • Save Walkeryr/6790762 to your computer and use it in GitHub Desktop.
Save Walkeryr/6790762 to your computer and use it in GitHub Desktop.
Rename files by removing specified substring
find . -name "*.jpg" -print |sed 's/\(.*\)-big\(.*\)/mv & \1\2/' | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment