Created
September 24, 2015 14:48
-
-
Save rmanly/edd2078ca058f72752c0 to your computer and use it in GitHub Desktop.
add flv extensions to files in a browser cache
This file contains hidden or 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/bash | |
| # put extensions on Flash vids in browser caches | |
| for item in ./*; do | |
| if $(file $item | grep -q Flash); then | |
| mv $item $item.flv | |
| fi | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment