Mailinglist Archive: opensuse (4631 mails)

< Previous Next >
Re: [opensuse] tar
  • From: Toshi Esumi <suse_email@xxxxxxxxxxxxxx>
  • Date: Sun, 21 Jan 2007 16:30:39 -0800
  • Message-id: <1169425839.3900.16.camel@xxxxxxxxxxxxxxxxxxx>
On Sun, 2007-01-21 at 18:56 -0500, 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..
>
According to man page the list can be directories. I tested it further,
it still works for me. So, that doesn't seem to be the issue I guess:
toshi@suse-102:~/Documents> ls -l
total 172
<snip>
drwxr-xr-x 4 toshi users 4096 2007-01-21 16:15 Misc
drwxr-xr-x 2 toshi users 4096 2007-01-21 16:15 test
<snip>
toshi@suse-102:~/Documents> ls -l test
total 172
-rwxr--r-- 1 toshi users 171936 2005-04-09 19:13 04092005.jpg
toshi@suse-102:~/Documents> tar cvf test.tar test
test/
test/04092005.jpg
toshi@suse-102:~/Documents> tar tvf test.tar
drwxr-xr-x toshi/users 0 2007-01-21 16:26:12 test/
-rwxr--r-- toshi/users 171936 2005-04-09 19:13:23 test/04092005.jpg
toshi@suse-102:~/Documents> cp Misc/add1.jpg test/.
toshi@suse-102:~/Documents> ls -l test
total 348
-rwxr--r-- 1 toshi users 171936 2005-04-09 19:13 04092005.jpg
-rwxr--r-- 1 toshi users 171936 2007-01-21 16:27 add1.jpg
toshi@suse-102:~/Documents> tar uvf test.tar test
test/
test/add1.jpg
toshi@suse-102:~/Documents> tar tvf test.tar
drwxr-xr-x toshi/users 0 2007-01-21 16:26:12 test/
-rwxr--r-- toshi/users 171936 2005-04-09 19:13:23 test/04092005.jpg
drwxr-xr-x toshi/users 0 2007-01-21 16:27:21 test/
-rwxr--r-- toshi/users 171936 2007-01-21 16:27:21 test/add1.jpg

Toshi



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

< Previous Next >