Re: Working - Re: [CentOS] Taring up the OS - how to exclude directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2006-09-08 at 14:28 -0400, Robert Moskowitz wrote:
> Robert wrote:
> > Robert Moskowitz wrote:
> >> Robert wrote:
> >>> Robert Moskowitz wrote:
> >>>><snip>

> there was no reason for the -C.  Taking it out got things working.  One 
> question I have is that every so often the -v is showing things like the 
> following:
> 
> 
> tar: Removing leading '/' from member names
> /
> /sbin
> /sbin/dump_cis
> /sbin/request-key
> /sbin/agetty
> 
> Well those were the first ones, and the reason I could catch those is at 
> that point SSH prompted my for the remote user password.
> 
> If I watch the screen (without getting sick with the fast scrolling), I 
> see other '/' being removed comments.

That is really what you want anyway. With a '/', you have absolute
pathname and can't as easily recover into a "working" directory. With it
removed, you have a "relative" path and can easily restore to a working
or to the original directory.

As to your "seasickness", redirect stdout and stderr into a file. Then
you can examine the file later, or tail it as it runs. Like so

   tar <some junk> &>/tmp/tar.out # Puts norm and errors together
or
   tar <some junk> >/tmp/normal.out 2>/tmp/error.out

as examples.

--
Bill

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux