GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: multi-threaded rsync or rcp with large gzip fi...
Operating System - HP-UX
1855536
Members
7803
Online
104112
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-24-2003 02:16 AM
03-24-2003 02:16 AM
multi-threaded rsync or rcp with large gzip file
Hi,
I'm wanting to transfer a huge gzip file i.e. approximately 6GB over the WAN. I would like to initiate a multi-threaded rsync or rcp for this single gzip file to be transferred.
Is there a way which I can "split" such large gzip file to be transferred with multiple threads/connections?
Could someone kindly help me out?
Thanks
I'm wanting to transfer a huge gzip file i.e. approximately 6GB over the WAN. I would like to initiate a multi-threaded rsync or rcp for this single gzip file to be transferred.
Is there a way which I can "split" such large gzip file to be transferred with multiple threads/connections?
Could someone kindly help me out?
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 02:38 AM
03-24-2003 02:38 AM
Re: multi-threaded rsync or rcp with large gzip file
Im not aware of any way of doing this. I think you will have to transfer it in one go. Use ftp - its more reliable and faster than rcp.
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 02:54 AM
03-24-2003 02:54 AM
Re: multi-threaded rsync or rcp with large gzip file
imho, you could "split" (man split) the files, and then "cat" them back in 1 piece after the transport.
prealloc testfile 1000000
split -b 100k testfile testfile.
ls testfile.*|
while read fname
do
rcp $fname machineB:$fname &
done
after it is done you can exec
remsh machineB cat testfile.*>testfile
if you want to wait in your script for the rcp's to finish, you can user pid[$fname]=$!
and then use wait pid[$fname] in a for loop.
hecou
prealloc testfile 1000000
split -b 100k testfile testfile.
ls testfile.*|
while read fname
do
rcp $fname machineB:$fname &
done
after it is done you can exec
remsh machineB cat testfile.*>testfile
if you want to wait in your script for the rcp's to finish, you can user pid[$fname]=$!
and then use wait pid[$fname] in a for loop.
hecou
A Life ? Cool ! Where can I download one of those from ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP