View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 04:46 PM
Barry Margolin
 
Posts: n/a
Default Re: tar and gzip

In article <3f0d359d.1163032@news-server.tampabay.rr.com>,
Doug Burton <dburton30@hotmail.com> wrote:
>To copy files to a tarball and gzip at the same time.
>tar cvf - ? | gzip -9> filename.tar.gz
>
>NOTE:
>The question mark (?) is really supposed to be there.


Why is the question mark there? This will only get files and
subdirectories with single-character names.

--
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Reply With Quote