Created
June 23, 2020 15:06
-
-
Save jangeador/b8e823ba7bc2668d589e016d0e25ffd8 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