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:
[EMAIL PROTECTED]:~/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>
[EMAIL PROTECTED]:~/Documents> ls -l test
total 172
-rwxr--r-- 1 toshi users 171936 2005-04-09 19:13 04092005.jpg
[EMAIL PROTECTED]:~/Documents> tar cvf test.tar test
test/
test/04092005.jpg
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/Documents> cp Misc/add1.jpg test/.
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/Documents> tar uvf test.tar test
test/
test/add1.jpg
[EMAIL PROTECTED]:~/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to