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
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
тАО09-15-2005 05:18 AM
тАО09-15-2005 05:18 AM
its giving following error....
[root@mbdelh01 ftp_cdr_completed]# gzip *
-bash: /bin/gzip: Argument list too long
[root@mbdelh01 ftp_cdr_completed]#
---------------------------------------------
How to gzip soo many files..
while moving *.gz its giving same error..
waiting for replies
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 05:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 05:26 AM
тАО09-15-2005 05:26 AM
Re: gzip
The standard method to get around this process is-
ls | xargs gzip
xargs breaks the arguments into managable chunks for gzip (or any command) to use.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 05:31 AM
тАО09-15-2005 05:31 AM
Re: gzip
Do something like:
cd your_directory
find . -type f > /tmp/mylist
while read FILE
do
gzip ... ${FILE} #...with whatever args...
done < /tmp/mylist
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 08:29 AM
тАО09-15-2005 08:29 AM
Re: gzip
If you are compressing for purposes of transport, then a typical method is-
cd ftp_cdr_completed
tar cf . - | gzip -c >package.tar.gz
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 08:36 AM
тАО09-15-2005 08:36 AM
Re: gzip
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 03:15 PM
тАО09-15-2005 03:15 PM
Re: gzip
ls | xargs gzip
find . -type f -exec gzip {} \+
You can also prefer to use tar all the files and gunzipping the tar.
find . -type f -exec gzip {} \; is having limitation problem too.
hth.