Thread: SH: How not to use while for file processing?
hello,
part of code looks below. while not solution since variables out of while not seen / known / remembered while function...
code:
code:for each in *.jpg ; ls -lah "$each" filen=`date -r "$each" +%f,%h:%m` printf "date modif: $filen ; " convert "$each" -resize "$resolution" -fill white -undercolor '#00000080' -gravity southwest -annotate +0+5 "date:$filen" "/tmp/$each" echo continuing done
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] SH: How not to use while for file processing?
Ubuntu
Comments
Post a Comment