Re: How can I FTP a file from one UNIX box to other UNIX box using xcomtp.
- From: Bill Marcum <bmarcum@xxxxxxxxx>
- Date: Tue, 31 Oct 2006 00:15:54 -0500
On 30 Oct 2006 19:31:51 -0800, Ambarish
<ambarishj@xxxxxxxxx> wrote:
Hi,Never heard of xcomtp, and neither have Yahoo or Google. Perhaps you
I want to ftp a large file(10 GB) from one unix box to other. Can
anybody plesae tell how can I achieve that using xcomtp command. Also,
I want to check whether there is any record which is greater than 2500
bytes. If it is so, I want to redirect that record to some other file.
This re-direction is to be done before FTP.
misspelled it?
Do you want the records larger than 2500 bytes to go only to the other
file, or to both files?
awk 'length>2500{print >>"otherfile";next}
{print | "ssh user@otherhost cat > remotefile"}' largefile
--
QOTD:
Talent does what it can, genius what it must.
I do what I get paid to do.
.
- Follow-Ups:
- References:
- Prev by Date: How can I FTP a file from one UNIX box to other UNIX box using xcomtp.
- Next by Date: newbie question: how to convert str to int in c-shell?
- Previous by thread: How can I FTP a file from one UNIX box to other UNIX box using xcomtp.
- Next by thread: Re: How can I FTP a file from one UNIX box to other UNIX box using xcomtp.
- Index(es):
Relevant Pages
|