- export j=-2;export k=-1; ls *.jpg | sort -n | while read x ; do let j+=2; let k+=2; fn=`printf %03d $j` ; fn2=`printf %03d $k` ; echo mv \"$x\" p$fn-$fn2.jpg; done | cat
Untitled
Posted by Anonymous on Tue 26th Jun 2018 01:44
raw | new post
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.