Sujet : Re: tar problem
De : heller (at) *nospam* deepsoft.com (Robert Heller)
Groupes : comp.os.linux.miscDate : 12. Jun 2024, 19:21:27
Autres entêtes
Organisation : Deepwoods Software
Message-ID : <zsGdnc8RV5m6evT7nZ2dnZfqnPadnZ2d@giganews.com>
References : 1 2
User-Agent : TkNews 3.0 (1.2.17)
At Wed, 12 Jun 2024 15:29:57 -0000 (UTC)
nobody@nowhere.invalid (Marc Olschok) wrote:
On Sun, 09 Jun 2024 16:36:49 db wrote:
I like to make life easy so I wrote a one-line script
for extracting the contents of a tar file. I copied it
into the /bin directory so I can run it from anywhere.
This is not really adressing your original question, but
since you want to make life easy, did you consider to have
tarx as alias for 'tar -xf' instead of a shell-script?
Also I wonder if the version of tar you are using really
recognizes gzipped files and inserts the -z option even
if it is not invoked with it.
Generally, tar under Linux is Gnu Tar, which does recognize compressed tar
files, but generally only doublely extensioned filenames (eg mumble.tar.gz or
mumble.tar.bz2, etc.)
-- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364Deepwoods Software -- Custom Software Serviceshttp://www.deepsoft.com/ -- Linux Administration Servicesheller@deepsoft.com -- Webhosting Services