shandar
October 11th, 2005, 04:56 AM
Hi there!
Is here anyone who can point me to a good tutorial about shellscripting? I wrote a simple script to resize all jpegs in a folder which worked fairly good, but to be honest I didn't really understand what I did since I borrowed part of the code from another script :P . I also want to calculate how many percent that has been done, but it seems to be a pain in the butt, do I really have to call expr everytime I want to do a calculation like increasing a variable with 1?
Is here anyone who can point me to a good tutorial about shellscripting? I wrote a simple script to resize all jpegs in a folder which worked fairly good, but to be honest I didn't really understand what I did since I borrowed part of the code from another script :P . I also want to calculate how many percent that has been done, but it seems to be a pain in the butt, do I really have to call expr everytime I want to do a calculation like increasing a variable with 1?