10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Team,
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
10 Replies
2. Red Hat
Hi,
When we want to compress a file which is of huge size then what command is best for us.Kindly suggest on this.
1.Tar command or
2.gzip command
OS -- Linux 2.6
Regards,
Maddy (6 Replies)
Discussion started by: Maddy123
6 Replies
3. Shell Programming and Scripting
I have a tar file with name DTT012_GP_20140207.tar and many more with different names of different sizes ranging from 1GB to 4GB.
Now my requirement is to extract/not extract these files and then divide it into various parts of size 500MB and save it with different names and then compress... (5 Replies)
Discussion started by: Shaibal_bp
5 Replies
4. UNIX for Dummies Questions & Answers
Sorry guys.. dont know where to put this..
currently I am cleaning up system dump on our aix machine
and I wanted to set zero the 1st 20 large file but before doing
that I wanted to create some backup.
is there any command that can compress all these file same time?
tar syntax file?
... (2 Replies)
Discussion started by: thermometer
2 Replies
5. Shell Programming and Scripting
Hi,
I have hundreds of files "*.out" located in one folder,
and I want to:
1. Identify the good files containing "Normal termination" (grep "Normal termination" *.out )
2. Compress the good files into a tar.gz file (tar cvfz good.tar.gz *.goog.out )
Is there a way I can automate this... (4 Replies)
Discussion started by: rockytodd
4 Replies
6. Shell Programming and Scripting
I know there is a way to tar up directory and sub-directories and have it compressed all in one command but but the syntax escapes me.
I seem to re-call something like this:
tar -cvf /tmp/file.tar - | compress ?
Can somebody please provide me with the syntax on how to tar/compress
and... (6 Replies)
Discussion started by: BeefStu
6 Replies
7. UNIX for Advanced & Expert Users
I am trying to grab a folder and all the folders and files underneath it and send it from one computer to another. I basically want to compress the whole folder into a tar, tgz, or zip file so that it can be sent as one file. is there a command to compress a folder and all its contents into a tar... (7 Replies)
Discussion started by: kane4355
7 Replies
8. UNIX Desktop Questions & Answers
i want know how to compress and uncompress file using unix,
compress uncompress,zip,unzip,rar,unrar,how its work and more about this.:confused: (1 Reply)
Discussion started by: ismael xavier
1 Replies
9. UNIX for Advanced & Expert Users
I need to compress and tar a couple files in a directory, but I also want the original files unchanged, ie
if I compress a1.cpp , then a1.cpp becomes a1.cpp.z,
but what I want after running the compress utility is to have both
a1.cpp as it is and
a1.cpp.z
and then tar a1.cpp.z to an... (4 Replies)
Discussion started by: muru
4 Replies
10. UNIX for Dummies Questions & Answers
Hi !
i have to write a script that archivs homes not used since 3 years.
First, my script gathers the users that are concerned, using the following command :
ll -lt /home/*/.sh_history | egrep '2000|1999|1998|1997' | awk '{print $3}'
i obtain a list like this :
user_1
user_2
...... (3 Replies)
Discussion started by: tomapam
3 Replies