10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I need your help to find out an easy way to untar files from a tar file.
For example, I have a tar file which contains a lot of files that needs to untar in certain directories. I would like to untar them using one command instead of typing the following commands which is taking lots... (6 Replies)
Discussion started by: mohullah
6 Replies
2. UNIX for Advanced & Expert Users
Hi,
i want tar the files from one location and untar it to other location using single line.
Can any one help me
zip and unzip using single line command. (2 Replies)
Discussion started by: venikathir
2 Replies
3. Shell Programming and Scripting
hello
i want shell script.
i have a source.txt
/home/user409/public_html/test/
/home/user09876/public_html/xdsss/
/home/user9765/public_html/320xxx/
.
.
.
maybe 1000 lines
i want .
1.read a source.txt
2.untar special.tar.gz into these directory in source.txt
3.i want to... (14 Replies)
Discussion started by: topic32428285
14 Replies
4. Shell Programming and Scripting
Hi all,
My tar file exists in directory: /usr/users/rovolis/test1/archive.tar
Now from directory: /usr/users/rovolis/ i run the following command
tar xvzf /usr/users/rovolis/test1/archive.tar
The problem is that the extraction of files is not done
Any idea why?
Thank you (1 Reply)
Discussion started by: chriss_58
1 Replies
5. AIX
Hi,
How can i untar a set of files in to different directory.
This is content
tar -tvf samba.tar
drwxrwxrwx 0 0 0 Nov 28 18:35:41 2008 samba/
-rw-r--r-- 0 0 0 Nov 18 15:12:40 2008 samba/b.txt
-rw-r--r-- 0 0 0 Nov 18 15:12:40 2008 samba/c.txt
-rw-r--r-- 0... (4 Replies)
Discussion started by: allwin
4 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. UNIX for Advanced & Expert Users
i have try to untar the file in same location. But it gave the error
# tar -xvf TSMSRVAIX5220.tar
x tivoli.tsm.devices.acsls, 757760 bytes, 1480 media blocks.
tar: 0511-169 A directory checksum error on media; 4011 not equal to 8222.
How can i rectify this prob.
Thanks in advance
... (2 Replies)
Discussion started by: prakash96453
2 Replies
8. UNIX for Dummies Questions & Answers
Suppose you have a TAR file created with a different directory structure and you need to UnTar (or explode) the files to a different directory structure. How can this be done?
If TAR command cannot do this, are there any other alternatives (any other command) available to UnTar a .Tar file?
... (1 Reply)
Discussion started by: joshivaibhav
1 Replies
9. UNIX for Advanced & Expert Users
HI UNIX GURUS...
I am facing the a similar problem which malaymaru has posted earlier raegarding untaring a file in some other specified directory.But the solution by UNIX DAEMON "Perderabo" seems little difficult to understand.(USING #pax -r -s '=^/opt/abc=/tmp=' < tarfile)
So plz explain... (4 Replies)
Discussion started by: rahul26
4 Replies
10. Shell Programming and Scripting
I am new to shell scripting and would appreciate any help I can get.
I need to write a Unix shell script that I will run whenever I have a tar file to uncompress(Korn shell). Please put in mind that I have different environements that I will run it on.
Thanks in advance ;) (4 Replies)
Discussion started by: nkem22
4 Replies