|
I am trying something like this..
cd /in # Go to in the folder.
if [ -f "$File.xml"]; then # Check for the file if it exists
mv projects.xml ../program # move the file to program directory
fi
cd ../program # cd to the program directory
run command # run the command.
It throws me a error something like this, Please advise..
file.sh: [: missing `]'
???
|