Skip to content

Instantly share code, notes, and snippets.

@lordtangent
Created April 10, 2019 23:10
Show Gist options
  • Save lordtangent/86b50b1f17cf011f3fe615e2c67773bb to your computer and use it in GitHub Desktop.
Save lordtangent/86b50b1f17cf011f3fe615e2c67773bb to your computer and use it in GitHub Desktop.
Useful find snippets
# change file extention with find and bash
find -type f -name *.exr -exec bash -c 'file_name="{}"; echo "${file_name} ${file_name%.exr}.png"' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment