Created
February 7, 2020 19:12
-
-
Save sjwilliams/0b7345440b74087b77f8e2ea6eacb535 to your computer and use it in GitHub Desktop.
convert list of filenames into full URLs
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
for filename in *.mp4; do base=${filename#mp4} echo "https://youdomain.com/${filename%.mp4}-900w.mp4"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment