The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 11-24-2007
findprakash findprakash is offline
Registered User
 

Join Date: Sep 2007
Posts: 30
Thanks for update matrixmadhan. Even though after making suggsted changes I still get same error message. Now my code looks like :

find ${COPY_DIR} -type f | while read N
do
mkdir -p "${BACKUP_DIR}/`dirname $N`"
gzip < "$N" > "${BACKUP_DIR}/$N.gz"
done

Error message

/backup/sidora/iAS/ifs1.1/doc/Quick Tour/Graphics/rtarr.gif.gz: cannot create
Reply With Quote