Hi all,
I have a series of administrative shell scripts that I run to perform a variety of functions (write logs, move files, copy files, execute programs...ect). Currently however, I have a small problem with a few of them not being able to ignore errors.
How do I tell a shell script that if it encounters an error to move on to the next item?
Thanks,
~CzarJ
--- You must not fight too often with one enemy, or you will teach him all your tricks of war.
I have a series of administrative shell scripts that I run to perform a variety of functions (write logs, move files, copy files, execute programs...ect). Currently however, I have a small problem with a few of them not being able to ignore errors.
How do I tell a shell script that if it encounters an error to move on to the next item?
Thanks,
~CzarJ
--- You must not fight too often with one enemy, or you will teach him all your tricks of war.