10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Under fuse application we have placeholders called containers;
Every container has their logs under:
<container2>/data/log/fuse.log... (6 Replies)
Discussion started by: Arjun Goswami
2. Shell Programming and Scripting
how to zip all log file in a folder expect the latest
gzip * ---> will zip all log files but I don't want the latest file to be zipped
ex: file1, file2, file3, file4, file5
any single command to gzip all files excpet file5 ? (2 Replies)
Discussion started by: rmann
3. 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
4. Shell Programming and Scripting
I have one huge archive (it's a system image).
I need sometime to create smaller archives with only one or two file from my big archive.
So I'm looking for a command that extracts files from an archive and pipe them to another one.
I tried the following :
tar -xzOf oldarchive.tgz... (5 Replies)
Discussion started by: chebarbudo
5. Shell Programming and Scripting
I want to gzip files in loop.
for i in `ls *.xml`;
But i am gettin error like "/usr/bin/ls: Arg list too long"
Also please tell me how to do it with while loop and also using find and then exec. (7 Replies)
Discussion started by: tushar_tus
6. Shell Programming and Scripting
I was creating a zip file in a server which had zip installed in it. I have another server in which zip is not there and i am instructed to make use of gzip to compress files. I would need your help to know the way to create a gzip file.
1) I do the following to create the zip... (5 Replies)
Discussion started by: ganga.dharan
7. UNIX for Dummies Questions & Answers
I have some files which are 01.tar.gz, 02.tar.gz,03.tar.gz ........30.tar.gz.
when I want to extract the files I 'm using this command "gzip -dc *.tar.gz | tar -xvf -" but it just uncompress 01.tar.gz
how can I uncompress all of them ?
alice (2 Replies)
Discussion started by: alisevA3
ciao a tutti,
premesso che sono un principiante di unix, avrei bisogno di gzip/gunzip e SOPRATTUTTO delle istruzioni (ahimè dettagliatissime, come per un bimbo!) per installarlo...
ciao (1 Reply)
Discussion started by: mfran2002
9. UNIX for Dummies Questions & Answers
My own stupidity (or ignorance...or both) put me in the situation I am in and I need help please:
1-My shell account (OS: HP UX v11) contains several work directories (/docs, /scripts...)
2-Our sysadmin has implemented aggressive disk quotas so I have to compress the files I put here... (2 Replies)
Discussion started by: alan
10. UNIX for Advanced & Expert Users
Hi, I am trying to unzip a file that I unmounted onto a unix machine from a cd I had burned in a Windows machine. The file I am trying to unzip is a .tar file... it was originally a .tar.gz file because it was zipped using gzip. I have tried:
% gzip -d hpux.tar (where hpux.tar is the file... (2 Replies)
Discussion started by: nattie_h
GZFORCE(1) General Commands Manual GZFORCE(1)
gzforce - force a '.gz' extension on all gzip files
gzforce [ name ... ]
gzforce forces a .gz extension on all gzip files so that gzip will not compress them twice. This can be useful for files with names trun-
cated after a file transfer. On systems with a 14 char limitation on file names, the original name is truncated to make room for the .gz
suffix. For example, 12345678901234 is renamed to 12345678901.gz. A file name such as foo.tgz is left intact.
gzip(1), gznew(1), gzmore(1), gzgrep(1), gzdiff(1), gzexe(1)
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability | SUNWgzip |
|Interface Stability | External |
Source for gzip is available in the SUNWgzipS package.