1

cp command not functioning regularly

view story
linux-howto

http://www.unix.com – I have written a korn shell script . I copy a file from one mounted directory to other using cp command. This script runs daily at a time. But sporidally it fails to copy the files. So I have missing files at the destination directory for some days. Is my method a good one or is there some way i can throw an error if the cp command fails (HowTos)