Quote:
Originally Posted by
Franklin52
Have you try to find out why it fails?
Put some effort into solving the problem with the given examples instead of always asking for the right answers.
Regards
thanks for reply
cd /home/jagannath.n
dated=$(date +%d-%m-%y)
test -d /home/jagannath.n/tmp/$dated | mkdir /home/jagannath.n/tmp/$dated
file=$(find . -name test* -print)
cp -rf $file /home/jagannath.n/tmp/$dated
my problem is solved using above script but it print below error .
cp: cannot stat `./Azureus': No such file or directory
cp: cannot stat `Downloads/SHELL': No such file or directory
cp: cannot stat `SCRIPTING': No such file or directory
cp: cannot stat `IN': No such file or directory
cp: cannot stat `LINUX/VTC': No such file or directory
cp: cannot stat `-': No such file or directory
cp: cannot stat `UNIX': No such file or directory
cp: cannot stat `SHELL': No such file or directory
cp: cannot stat `SCRIPTING': No such file or directory
cp: cannot stat `ADVANCED/Course': No such file or directory
cp: cannot stat `Files/Chapter': No such file or directory
is it error?