In one of my scripts the command is to remove all the files in a directory. sometimes there will be files and sometimes not..but if the files are not there then this commad is generating error.
"* No such File or Directory"
the actual command is rm ./DIR/*
in some of the commands i know we have -s option which will supress the error. Is there anything like that here ?