Mailinglist Archive: opensuse (4631 mails)

< Previous Next >
Re: [opensuse] tar
  • From: Bruce Marshall <bmarsh@xxxxxxxxxx>
  • Date: Sun, 21 Jan 2007 18:56:49 -0500
  • Message-id: <200701211856.49723.bmarsh@xxxxxxxxxx>
On Sunday 21 January 2007 18:41, John Meyer wrote:
> Here is what I am trying:
>
> cd $HOME && tar uf $HOME/backups/Pictures.tar Pictures
> gzip $HOME/backups/Pictures.tar
>

I'm no expert on tar but what you are trying never looked right to me.

Just where is this Pictures? a directory off your home directory??

I would think Pictures/* would be the thing to use..


> And here's the error:
> tar: Pictures: Cannot open: Is a directory
> tar: Error is not recoverable: exiting now
>
> I guess the other will work just as well, but it still seems a waste of
> processor time.
>
> Kenneth Schneider wrote:
> > On Sun, 2007-01-21 at 14:43 -0700, John Meyer wrote:
> >> James Knott wrote:
> >>> Try it without using compressed files. Some tar functions don't work
> >>> with compression. You can always compress and uncompress separately
> >>> from adding files.
> >>
> >> Okay, here's what I finally came up with
> >>
> >> cd $HOME && tar uf $HOME/backups/Pictures.tar Pictures
> >> gzip $HOME/backups/Pictures.tar
> >>
> >> Seems to work, but I can't get the incremental backup feature. Any
> >> suggestions?
> >
> > tar tzf $HOME/backups/Pictures.tar Pictures.gz should show all of the
> > versions of the files in the original backup. The "u" option will not
> > add additional files that do not exist in the original tar file.
> >
> > I have not used the "G" option to tar for incremental backups so I
> > cannot offer help for that.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >