Renumbering image sequences (Linux/MacOS)
Posted: Thu May 06, 2021 6:15 pm
Code: Select all
MASK="reelX_%07d.dpx"
i=1
for f in *.dpx; do
OUT=$(printf "$MASK" $i)
echo "$f : $OUT"
mv $f $OUT
i=$((i+1))
done
what we do? everything.
http://das-werkstatt.com/forum/werkstatt/
http://das-werkstatt.com/forum/werkstatt/viewtopic.php?f=24&t=2641
Code: Select all
MASK="reelX_%07d.dpx"
i=1
for f in *.dpx; do
OUT=$(printf "$MASK" $i)
echo "$f : $OUT"
mv $f $OUT
i=$((i+1))
done