10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Would you please help me with a UNIX command that would check if file is a tar file.
if we dont have that , can you help me with UNIX command that would check if file ends with .tar
Thanks in advance. (10 Replies)
Discussion started by: sanjaydubey2006
2. Shell Programming and Scripting
I have a tar file that contains multiple .Z files. Hence I need to issue a tar command followed by a gzip command to fully extract the files. How do I do it in a single command?
What I'm doing now is
tar xvf a.tar (this will output 1.Z and 2.Z)
gzip -d *.Z (to extract 1.Z and 2.Z) (9 Replies)
Discussion started by: ericlim
3. Shell Programming and Scripting
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
4. UNIX for Advanced & Expert Users
I have to run several unix commands like lsof or sed and need to execute across different servers as part of my monitoring tasks.
There are around 40 Unix Servers. It is really cumbersome to run those command on several servers.
can some help me in this regard. Is it possible to run... (6 Replies)
Discussion started by: john_prince
5. UNIX for Dummies Questions & Answers
I am currently in the process of BACKING UP over 160GB of data, where currently all files have been archived into directories, sub-directories and so fore by day, in the format for example
The issue I'm having, is... (2 Replies)
Discussion started by: killos
6. Shell Programming and Scripting
if I have a tarfile called pmapdata.tar that contains
tar -tvf pmapdata.tar
-rw-r--r-- 0/0 21 Oct 15 11:00 2009 /var/tmp/pmapdata/pmap4628.txt
-rw-r--r-- 0/0 21 Oct 14 20:00 2009 /var/tmp/pmapdata/pmap23752.txt
-rw-r--r-- 0/0 1625 Oct 13 20:00 2009... (1 Reply)
Discussion started by: borderblaster
7. Shell Programming and Scripting
I have a file with a bunch of absolute path file names. Is there a way with the tar command to read in these files and tar them up?
(I found this list of files using the locate command and I redirected them to a file, and now I want to tar them up)
And if so, when I untar this file that the... (6 Replies)
Discussion started by: snoman1
8. UNIX for Dummies Questions & Answers
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
9. UNIX for Dummies Questions & Answers
I just installed redhat 8.0 i have no idea how to work this OS.
i have worked before with unix sco.
The question is i just install a backup tape.
how can i view the content on a tape.
what i;m trying to do is tar cv8 or tar xvf perform this actions on a redhat 8.0
Thanks. (4 Replies)
Discussion started by: josramon
10. UNIX for Dummies Questions & Answers
What is the tar command from start to finish to move a directory from one directory to another . (10 Replies)
Discussion started by: Tnunn