Hello scripters,
I am trying to write a shell script that calls another script when a file is not in either location. Ex...
if [[ ! -f "/myfile"]] and
if [[ ! -f "/nextfile"]] then
call2
fi
I can get it to work if one line is true but not when two are true. What is the correct syntax? Thanks in advance.....:-D
I am trying to write a shell script that calls another script when a file is not in either location. Ex...
if [[ ! -f "/myfile"]] and
if [[ ! -f "/nextfile"]] then
call2
fi
I can get it to work if one line is true but not when two are true. What is the correct syntax? Thanks in advance.....:-D