Re: How can I FTP a file from one UNIX box to other UNIX box using xcomtp.
- From: "Ambarish" <ambarishj@xxxxxxxxx>
- Date: 30 Oct 2006 21:38:39 -0800
Hi,
sorry i mispelled it. it is "xcomtcp". I think the awk command will
read each line, it will take long time. i mean, i have tried awk
command but it is taking long time.
Bill Marcum wrote:
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:
- Re: How can I FTP a file from one UNIX box to other UNIX box using xcomtp.
- From: Bruce Barnett
- Re: How can I FTP a file from one UNIX box to other UNIX box using xcomtp.
- References:
- Prev by Date: newbie question: how to convert str to int in c-shell?
- Next by Date: Re: newbie question: how to convert str to int in c-shell?
- Previous by thread: Re: 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
|