- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 'gzip' a large file.
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
тАО04-11-2002 03:03 PM
тАО04-11-2002 03:03 PM
gzip
After the crontab processed, I got the file named is
I try a compress command (compress
Would you please help me with the gzip problem. Thank you
Best regards,
Jennifer Lam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 03:09 PM
тАО04-11-2002 03:09 PM
SolutionWhen scripts run via cron, they may not have the same PATH as when you are logged in.
Always use absolute path names for commands in your scripts. For example:
/usr/local/bin/gzip
rather than
gzip
I hope this helps!
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 03:16 PM
тАО04-11-2002 03:16 PM
Re: 'gzip' a large file.
/usr/contrib/bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 10:06 PM
тАО04-11-2002 10:06 PM
Re: 'gzip' a large file.
tar -czvf archive.tgz .
2. You can tar/gzip on the fly using '-' as file
tar cvf - . | gzip -9 >archive.tar.gz
3. bzip compresses much more, so if disk or tape space is a problem you could consider the move to bzip2. Compressions is slower than gzip, but decompression is not
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2002 12:09 AM
тАО04-12-2002 12:09 AM
Re: 'gzip' a large file.
Your problem is your script do not find the path where gzip is.
You have to put the path inside the script.
If you do not know where it is use this command from / :
find . -name gzip -print
Will show you the path.
I hope this help.
Juanma.