Skip to content

Instantly share code, notes, and snippets.

@BedirYilmaz
Created December 14, 2017 00:31
Show Gist options
  • Save BedirYilmaz/d0b2f92103457a75d2b4205deb8e68f1 to your computer and use it in GitHub Desktop.
Save BedirYilmaz/d0b2f92103457a75d2b4205deb8e68f1 to your computer and use it in GitHub Desktop.
My First bash script ever : finds all mp4 s in a folder and its subfolders, then applies a pyhton script on them
#!/bin/bash
for name in `find . -type f -name "*.mp4"`
do
python renamer.py ${name}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment