<div>Thank you.</div>  <div> </div>  <div>How about untar? </div>  <div>I am using -T </div>  <div>tar cvf file.tar -T file.txt</div>  <div> </div>  <div>inside file.txt, </div>  <div>eg:</div>  <div>/var/www/html/version/abc.html</div>  <div>/var/www/html/version/image/abc.jpg</div>  <div> </div>  <div>how can I untar those files into /var/www/html instead of /var/www/html/version</div>  <div> </div>  <div>Thank you again<BR><BR><B><I>Robert <kerplop@sbcglobal.net></I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR><BR>chloe K wrote:<BR>> Hi<BR>> <BR>> I have number of selected files to backup and it is also in different <BR>> folders<BR>> <BR>> How can I make it easy?<BR>> <BR>> <BR>> eg:<BR>> <BR>> tar zcvf select-file.tar.gz from selected file or tar zcvf <BR>> select-file.tar.gz (from selected files in
 file.txt)?<BR>> <BR>> Thank you for your help<BR>I'm sure there will be other ideas but in the absence of an "include <BR>these files" file option, you could employ a simple loop to append the <BR>files in a list to a tar archive. For example, if you had a file named <BR>"include" with these 3 records<BR><BR>/bin/gawk<BR>/etc/fstab<BR>/etc/resolv.conf<BR><BR>This would cause the 3 files to be archived as "included.tar".<BR>[rj@mavis ~]$ while read inc ; do echo "including:" $inc ; tar -v -r <BR>$inc -f included.tar ; done < include<BR><BR>Just to be sure....<BR><BR><BR>[rj@mavis ~]$ tar -tvf included.tar<BR>-rwxr-xr-x root/root 320416 2007-03-14 09:48:15 bin/gawk<BR>-rw-r--r-- root/root 874 2008-09-23 09:53:40 etc/fstab<BR>-rw-r--r-- root/root 135 2008-08-21 21:18:43 etc/resolv.conf<BR>[rj@mavis ~]$ <BR><BR><BR>The real challenge here is to compile the "include" file correctly.<BR>_______________________________________________<BR>CentOS mailing
 list<BR>CentOS@centos.org<BR>http://lists.centos.org/mailman/listinfo/centos<BR></BLOCKQUOTE><BR><p>
      <hr size=1><a href="http://ca.promos.yahoo.com/newmail/overview2/"><b>All new Yahoo! Mail - </b></a>Get a sneak peak at messages with a handy reading pane.