Hey everyone,
I need some help. I am trying to write a small UNIX script that will go through all the subdirectories within a main directory and perform a command line function in each (call the function “resize-image”). In addition it is important that if the script encounters an error it skips that subdirectory and moves on to the next.
Just to give you an idea of what this is, below is a basic directory structure. Within the directory “test” is about 600 subdirectories
/disk/building/test/
/19587
/245
/89578
/87597
/ect ect ect
Thanks in Advance!!!
~CzarJ
I need some help. I am trying to write a small UNIX script that will go through all the subdirectories within a main directory and perform a command line function in each (call the function “resize-image”). In addition it is important that if the script encounters an error it skips that subdirectory and moves on to the next.
Just to give you an idea of what this is, below is a basic directory structure. Within the directory “test” is about 600 subdirectories
/disk/building/test/
/19587
/245
/89578
/87597
/ect ect ect
Thanks in Advance!!!
~CzarJ