10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am calling Temp.sh and it is has simple line
if I run this script, logging to server then its works fine. But when I send this script over the SSH it does not work at it. gzip is command is not execute.
I am using
gzip 1.6... (2 Replies)
Discussion started by: girijajoshi
2. Shell Programming and Scripting
Below is the description of my problem.
I am trying to loop through the below file names sitting in the file - FileNames.txt, and trying to decompress them
... (6 Replies)
Discussion started by: Richmond_CS
3. Shell Programming and Scripting
I've a continuos tcpdump on redhat that close the dumped file every 100000 captured packets.
To avoid disk full I would like to gzip the closed *.cap file. But how can I check if the file is currently opened by tcpdump and skip it from gzip?
EDIT: Just to post an... (9 Replies)
Discussion started by: Lord Spectre
4. Shell Programming and Scripting
I have two files like ABC_DEF_yyyyymmdd_hhmiss_XXX.txt and ABC_DEF_yyyyymmdd_hhmiss_YYY.txt. The date part is going to be changing everytime. How do i remove this date part of the file and create a single file like ABC_DEF_XXX.txt. (8 Replies)
Discussion started by: varlax
5. UNIX for Dummies Questions & Answers
I want gzip of a file in the same folder where it is kept now
$filename = '/var/dev/test.txt'
/opt/home/>> gzip -c $filename > test.txt.gz
however command creates it in the folder in /opt/home/
How to gzip a file in the same directory where it is now , no matter from where we execute and also... (2 Replies)
Discussion started by: lalitpct
6. UNIX for Advanced & Expert Users
I have a random test file: test.txt, size: 146
$ ll test.txt
$ 146 test.txt
$ cat test.txt | gzip > test.txt.gz
$ ll test.txt.gz
$ 124 test.txt.gz
$ gzip test.txt
$ ll test.txt.gz
$ 133 test.txt.gz
As you can see, gzipping a file and piping into gzip... (1 Reply)
Discussion started by: hanfresco
7. Shell Programming and Scripting
I have some files in directory.each file contain some data.
my requirement is add the count of each line of file in head of each file.
any advice !!!!!!!! (4 Replies)
Discussion started by: abhigrkist
I want to gzip a file and append the creation date to the end of the file. How can I accomplish this task. Basically they are log files which need a creation date stamp appended to make sure they do not overwrite other log files.
-jack (3 Replies)
Discussion started by: jacktravine
I have thousands of file (data file and Gziped file) in same directory like below--
bash-2.05$ file PP023149200709270546
TT023149200709270546: gzip compressed data - deflate method
bash-2.05$ file PP027443200711242320
TT027443200711242320: ... (10 Replies)
Discussion started by: thepurple
10. UNIX for Dummies Questions & Answers
How do I send a file as an attachment (gzip file) on a Unix system ? Using sendmail.
Please help me.
:confused: (3 Replies)
Discussion started by: lacca