Mailinglist Archive: opensuse (4631 mails)

< Previous Next >
Re: [opensuse] tar
  • From: J Sloan <joe@xxxxxxxxxx>
  • Date: Sun, 21 Jan 2007 16:42:51 -0800
  • Message-id: <45B4088B.6030908@xxxxxxxxxx>


Bruce Marshall wrote:
> 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..

Not a good idea IMHO - if you say Pictures/*, then when that archive is
untarred, it will barf all over the current working directory, and I hate it
when naively constructed tarballs do that. Better to leave it at Pictures, and
the untar will confine itself neatly to the Pictures directory.

Joe
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >