Mailinglist Archive: opensuse (4631 mails)

< Previous Next >
Re: [opensuse] tar
  • From: Kenneth Schneider <suse-list3@xxxxxxxxxxxxx>
  • Date: Sun, 21 Jan 2007 19:38:25 -0500
  • Message-id: <1169426305.28032.67.camel@xxxxxxxxxxxxxxxxx>
On Sun, 2007-01-21 at 16:41 -0700, John Meyer wrote:
> 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.
>
>
Please do not top post.

Since you are running this from the command line there is no need for cd
$HOME just use

cd (the cd command by it self takes you to your home (login) directory)
gunzip backups/Pictures.tar.gz
tar uf backups/Pictures.tar Pictures
gzip -9 backups/Pictures.tar ( the -9 means to use maximum compression)


--
Ken Schneider
UNIX since 1989, linux since 1994, SuSE since 1998

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

< Previous Next >
Follow Ups