OK, fianlly go it figured out. Tried to untar a file and used this command: gunzip -c samp_db.tar.gz | tar xvf I switched the -h to -f as suggested in a reply post to my origional question. The response I received was; Old option 'f' requires an argument. Try 'tar --help' for more information. Tar help produced a couple of arguments followed by this very informative information. GNU tar cannot READ NOR PRODUCE, posix archives. If POSIXLY CORRECT is set in the environment, GNU extensions are disallowed with --posix. Support for POSIX is only partially implemented, don't count on it yet. ARCHIVE may be FILE, HOST:FILE or USER@HOST:FILE and FILE, maybe a file or a device. *This* 'tar' defaults to '-f- -b20. After reading this I typed info tar, read the file on extraction and issued the following command: gunzip -c samp_db.tar.gz | tar xv The utilities did a ducky job of unzipping and depositing the files into the directory just the way I wanted them to. I am very pleased that everyone was willing to help, thank you for your information and the time you took to inform me. Rusty -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Can I ask something silly, perhaps I missed it earlier... why didn't you just do: tar -xzvf samp_db.tar.gz GNU tar (that which comes with SuSE) can handle gzip just fine, so why not use it? D At 12:10 PM 2/14/00 -0900, Rusty wrote:
OK, fianlly go it figured out.
Tried to untar a file and used this command:
gunzip -c samp_db.tar.gz | tar xvf
I switched the -h to -f as suggested in a reply post to my origional question.
The response I received was; Old option 'f' requires an argument. Try 'tar --help' for more information.
Tar help produced a couple of arguments followed by this very informative information.
GNU tar cannot READ NOR PRODUCE, posix archives. If POSIXLY CORRECT is set in the environment, GNU extensions are disallowed with --posix. Support for POSIX is only partially implemented, don't count on it yet. ARCHIVE may be FILE, HOST:FILE or USER@HOST:FILE and FILE, maybe a file or a device. *This* 'tar' defaults to '-f- -b20.
After reading this I typed info tar, read the file on extraction and issued the following command:
gunzip -c samp_db.tar.gz | tar xv
The utilities did a ducky job of unzipping and depositing the files into the directory just the way I wanted them to.
I am very pleased that everyone was willing to help, thank you for your information and the time you took to inform me.
Rusty
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
gunzip -c samp_db.tar.gz | tar xvf - ^^^^^ -- Rafael -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I always use: tar -czf file.tgz files ex: tar -czf backup.tgz www/ or: tar -czf backup.tgz *.htm* 'czf': Create a Zipped File (easy to remember) and: tar -xzf file.tgz ex: tar -xzf backup.tgz 'xzf': eXtract a Zipped File '.tgz' can be replaced by .tar.gz, AFAIK GNU tar can handle both gzipped and zipped archives. Rogier Rusty wrote:
OK, fianlly go it figured out.
Tried to untar a file and used this command:
gunzip -c samp_db.tar.gz | tar xvf
I switched the -h to -f as suggested in a reply post to my origional question.
The response I received was; Old option 'f' requires an argument. Try 'tar --help' for more information.
Tar help produced a couple of arguments followed by this very informative information.
GNU tar cannot READ NOR PRODUCE, posix archives. If POSIXLY CORRECT is set in the environment, GNU extensions are disallowed with --posix. Support for POSIX is only partially implemented, don't count on it yet. ARCHIVE may be FILE, HOST:FILE or USER@HOST:FILE and FILE, maybe a file or a device. *This* 'tar' defaults to '-f- -b20.
After reading this I typed info tar, read the file on extraction and issued the following command:
gunzip -c samp_db.tar.gz | tar xv
The utilities did a ducky job of unzipping and depositing the files into the directory just the way I wanted them to.
I am very pleased that everyone was willing to help, thank you for your information and the time you took to inform me.
Rusty
+---------------------------------+ | Rogier Maas | | icarus@guldennet.nl | | http://www.guldennet.nl~icarus/ | | ICQ# 2403780 | +---------------------------------+ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello Rusty, I've always used the following for *.tar.gz or *.tgz files: tar -xzvf *.tar.gz and it seems to work. Terry Rusty wrote:
OK, fianlly go it figured out.
Tried to untar a file and used this command:
gunzip -c samp_db.tar.gz | tar xvf
I switched the -h to -f as suggested in a reply post to my origional question.
--
Terry Eck
participants (5)
-
dredd@megacity.org
-
eck@raytheon.com
-
icarus@guldennet.nl
-
irisinc@gci.net
-
raffo@neuronet.pitt.edu