10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have number of .tgz files and want to extract the file with the ending *results.txt from each one.
I have tried
for file in *.tgz; do tar --wildcards -zxf $file *results.txt; doneas well as
for i in $list; do tar --wildcards -zxvf $i *.results.txt; done... (1 Reply)
Discussion started by: jfern
2. Shell Programming and Scripting
I want to check whether tar file exists in the directory or not. If tar file exists in the directory then I want to append the files to it.
I am using the below command to tar files if the file does not exist.
tar zcvf <tar file name> <Files to append>
However, if want to... (4 Replies)
Discussion started by: Nagaraja Akkiva
This is my 1st post here. I tried to Google around but failed to get my solution. So I hope you guys could help me. (I have just a basic unix background for 2years so I'm sorry if im asking stupid questions)
OS - Aix 6.1, 64 bits.
Server - currently I only have telnet access to a... (12 Replies)
Discussion started by: pilotHans
4. Shell Programming and Scripting
I have two text files. Need to create a third text file extracting specific data from first two existing files..
Text File 1: Format contains:
SQL*Loader: Release 10.2.0.1.0 - Production on Wed Aug 4 21:06:34 2010
some text ............so on...and somwhere text like:
Record 1:... (1 Reply)
Discussion started by: shashi143ibm
5. UNIX for Dummies Questions & Answers
What is the command to add files to an existing tar file.
Thanks, (5 Replies)
Discussion started by: Nomaad
6. UNIX for Dummies Questions & Answers
Need help. Anybody seen this kind of file before?
how to extract this tgz file? Any help?
Tq (5 Replies)
Discussion started by: zeedwolf
7. UNIX for Dummies Questions & Answers
Let's say I've got File.tgz that contains:-
Now, I would like to only extract files that contain the patter "Apple".
I've tried this
tar -xvf File.tgz 'tar -tf File.tgz | grep 'Apple''
but it does not work. Please help. Thanks. (12 Replies)
Discussion started by: percivalwcy
8. UNIX for Dummies Questions & Answers
I have a ton of files in a directory of the format app.log.2008-04-04
I'd like to run a command that would archive each of these files as app.log.2008-04-04.tgz
I tried a few combinations of find with xargs etc but no luck.
Amit (4 Replies)
Discussion started by: amitg
9. Windows & DOS: Issues & Discussions
Could anyone of y'all gurus tell me of how to open *.tgz files in WinXP....which program should i use to open it...i have tried going online to open it ut all in vain...please help
Gerry... (5 Replies)
Discussion started by: gerald_agoi
10. UNIX for Dummies Questions & Answers
How to unzip .tgz files
waiting for suggestions
Praful (5 Replies)
Discussion started by: Prafulla