Created
June 23, 2020 15:06
-
-
Save jangeador/00cc2aaaf89457ce8222f901b4054740 to your computer and use it in GitHub Desktop.
Add extension MP4 to files without extension
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
#!/bin/sh | |
# add extension to all files in this path | |
find . -type f ! -name "*.*" -exec mv {} {}.mp4 \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment