Mailinglist Archive: opensuse (4631 mails)

< Previous Next >
Re: [opensuse] tar
  • From: John Meyer <john.l.meyer@xxxxxxxxx>
  • Date: Sun, 21 Jan 2007 16:41:05 -0700
  • Message-id: <45B3FA11.5070506@xxxxxxxxx>
Here is what I am trying:

cd $HOME && tar uf $HOME/backups/Pictures.tar Pictures
gzip $HOME/backups/Pictures.tar

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 >