09-05-2008
Thanks got it by the below command
for f in *.tar.gz ; do gunzip -c $f | tar xvf - ; done
Last edited by ali560045; 09-05-2008 at 03:00 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Are there any unix/linux tools that can uncompress the "pkzip" files from DOS env.
Thanks . (2 Replies)
Discussion started by: Wing m. Cheng
2 Replies
2. UNIX for Dummies Questions & Answers
I get a compressed file for linux and I want to uncompress it in Unix. Is that possible?
I try with te command uncompress but it didnīt work.
T.hanks (3 Replies)
Discussion started by: diegoe
3 Replies
3. Shell Programming and Scripting
Hi UNIX gurus,
the scenario is that i have written a script which takes as input a directory structure.
And after that a tar is made ,then zipped and FTP it to a server.But how do i uncompress it from my script as FTP doesnot support any uncompress command during FTP session.
I have to automate... (2 Replies)
Discussion started by: rahul26
2 Replies
4. HP-UX
Hi All,
is there any command to unzip the compressed files compressed using PKZIP on HP-UX. We dont have unzip. and gunzip or compress commands are not working. is there any other to do this?
Thank you very much for the help.
Regards,
Srinivas (3 Replies)
Discussion started by: srinivas_paluku
3 Replies
5. Shell Programming and Scripting
How can i list uncompress files and compress those and also vice versa
suppose im listing the compressed files as ls -ltr *.Z.
how can i list the uncompressed files using not *.Z. (1 Reply)
Discussion started by: laknar
1 Replies
6. Shell Programming and Scripting
I need a shell script to Uncompress untar all the files present in the directory (it should Uncompress an untar files present in its sub folders also)
In my work I get lots of tar files to untar and update the server, for this each time in need to type
Step1) Uncompress xyz1-3.tar.z... (2 Replies)
Discussion started by: arewe
2 Replies
7. Shell Programming and Scripting
i Have 150 tar.gz files and i need to uncompress and extract all the files from those 150 tar.gz and i will have 150 files on daily basis.
could any one help me out with the script to uncompress tar.gz files. (5 Replies)
Discussion started by: gaddamshashank
5 Replies
8. HP-UX
I have file with large size in HP-UX os. I need to compress on HP-UX and ftp to linux server and i need to uncompress the files. How can i do this? Any help is highly appreciated.. (3 Replies)
Discussion started by: govindts
3 Replies
9. Shell Programming and Scripting
Hi,
I need to uncompress sevral tar.gz files that are located insides sevral folders using a shell script.
Folder tree looks like this :
/folder/001
/folder/002
/folder/003 Inside each folder dossier (001,002,003) we can find 1 or several tar.gz files.
I've scripted something... (9 Replies)
Discussion started by: shellX
9 Replies
10. UNIX for Beginners Questions & Answers
I have two directories of files (new-config-files and old-config-files):
new-config-files/this-db/config.inc.php
new-config-files/that-db/config.inc.php
new-config-files/old-db/config.inc.php
new-config-files/new-db/config.inc.php
new-config-files/random-database/config.inc.php
etc.
... (4 Replies)
Discussion started by: spacegoose
4 Replies