- export j=0; ls *.jpg | sort -n | while read x ; do let j+=1; fn=`printf %03d $j` ; echo mv \"$x\" p$fn.jpg; done | cat
Renumber
Posted by Anonymous on Fri 9th Jun 2017 05:17
raw | new post
view followups (newest first): Renumber by Anonymous
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.