The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: Error in cpio?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 06-28-2005
redlotus72 redlotus72 is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 69
Hi,

my Code :
echo copping daily.0 to daily1.0 using cpio
cd /home/arbuser/temp2/mscdr/tar/daily.0 && find . -print | $CPIO -pdl "$DR_BACKUP_DIR/daily.1/";
echo "Error==> " $?


O/p :

copping daily.0 to daily1.0 using cpio
cannot write in </home/arbuser/temp2/mscdr/tar/daily.1/>
Error==> 2

what is wrong in my code??