Created
August 28, 2013 23:32
-
-
Save DerekMarcinyshyn/6372682 to your computer and use it in GitHub Desktop.
Rename image sequence bash
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 | |
# rename image sequenc | |
# | |
# @author Derek Marcinyshyn <[email protected]> | |
# @date August 28, 2013 | |
i=1 | |
ORIGINAL="/home/selkirk/video/working/images/" | |
RENDER="/home/selkirk/video/working/render/" | |
for x in $ORIGINAL* | |
do | |
cp $x $RENDER$(printf "%0.3d.jpg" $i) | |
i=$(($i+1)) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment