- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gzip not working..
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 10:26 PM
тАО10-20-2008 10:26 PM
m getting the following error one one of my server,
root #/home/md >gzip *
gzip: invalid option --
gzip 1.3.5
(2002-09-30)
usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file ...]
-c --stdout write on standard output, keep original files unchanged
-d --decompress decompress
-f --force force overwrite of output file and compress links
-h --help give this help
-l --list list compressed file contents
-L --license display software license
-n --no-name do not save or restore the original name and time stamp
-N --name save or restore the original name and time stamp
-q --quiet suppress all warnings
-r --recursive operate recursively on directories
-S .suf --suffix .suf use suffix .suf on compressed files
-t --test test compressed file integrity
-v --verbose verbose mode
-V --version display version number
-1 --fast compress faster
-9 --best compress better
file... files to (de)compress. If none given, use standard input.
Report bugs to
do i need to update my gzip software ??
rx6600
hpux 11i v2 march 2008
16 gb ram
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 11:05 PM
тАО10-20-2008 11:05 PM
Re: gzip not working..
Did you tried with the full path
$ whereis gzip
gzip: /usr/contrib/bin/gzip /usr/contrib/man/man1.Z/gzip.1
/usr/contrib/bin/gzip * or *.*
If directory will be there then you will get a error message like
$ /usr/contrib/bin/gzip *
gzip: sap is a directory -- ignored
for unzip
/usr/contrib/bin/gzip -d *.*
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 11:09 PM
тАО10-20-2008 11:09 PM
SolutionI believe the work around was either
gzip ./*
or
gzip ./
or
gzip /full/path
Point is the * on it's own wasn't interpretted correctly.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 11:16 PM
тАО10-20-2008 11:16 PM
Re: gzip not working..
the same version is running without problems at my 11.11.
Maybe the list of '*' is too long?
I would try to specify the filename more.
For example 'a*' - or do as Kevin suggested.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 11:44 PM
тАО10-20-2008 11:44 PM
Re: gzip not working..
its wrkng for me nw thanks...........:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 12:02 AM
тАО10-21-2008 12:02 AM
Re: gzip not working..
Yes this will fail if there is a file that starts with "-".
You might be able to get it to work with:
gzip -- *
Unfortunately "--" doesn't work for "-":
gzip: compressed data not written to a terminal. Use -f to force compression.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 12:05 AM
тАО10-21-2008 12:05 AM