User Tools

Site Tools


terminal:num_files_from_start_num
i=29 # add 1 to last number in batch
for f in *.png; do
   dest=$(printf "%02d" $i).png
   mv "$f" "$dest"
   i=$((i + 1))
done

source

terminal/num_files_from_start_num.txt ยท Last modified: 2024/04/19 14:58 by melo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki