I cannot believe that I can't figure this out!
Mark Seven Smith
pampaluz at cox.net
Fri Nov 1 12:02:56 PST 2002
Gregory K. Ade wrote:
> Also, if you want to deal with multiple gzipped tar files (.tgz or
> .tar.gz), just add a 'z' to the arguments for tar, instead of doing a
> seperate command to gunzip:
> $ tar zxvf file.tar.gz
Yeah, I know about that, but I when the tar zxvf *.tar.gz didn't work, I
wondered if it had something to do with not being able to do multiple
files, and gunzip them too--so I gupzipped them just to get that out of the
> If you really want to get rid of all the .tar files when you're done
> unpacking them (why?), just rm them after you unpack them:
Why? Because there's this whole directory of themes; I just want the
themes to be put into the /themes directory where they go; and I don't need
the .tar.gz files after that. When the ls command makes the list of
.tar.gz files scroll off the screen, if you were to untar them there, it
would add even more entries (directories) to the directory full of theme
archives; and you would then have to move each directory separately into
the themes directory where it goes, adding to your problems.
Of course I could just rm the *.tar.gz files after they're untarred, and
then move * to the themes directory, but being able to get rid of the
original file when it is unpacked would be useful, in this case.
Another question: if I download a file, file.tar.gz into /tmp, how do I
unpack that file directly into another directory from there?
markvii at debian:/tmp$ tar zxvf theme_file.tar.gz [INTO...] ~/.gkrellm/themes/
Something like that?
s*^*QJwEw=QGv:vt=PGwEvvvEwt=OGUtMGUt=N\@:tKG:A=O> G:GNb,&+ 1%" Z)2" j&zz,+*
&&s^$^ Y+1&E["+0,/0%&- [y*-y&\$+!=Pt:S=QtUSQM%11-RGG444F"##F,/\$Gz)2"/&zz^,
,s,&,\\"\\,g,s,;,/"/,g,s,",===,g,s,(\d),' 'x$1,eg,print $_;
More information about the KPLUG-List