Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > rsync in a C program?

Reply
Thread Tools

rsync in a C program?

 
 
elia Mazzawi
Guest
Posts: n/a
 
      06-28-2004
Hi,
i'm replacing a perl script with a C program, so the perl script used
to rsync very many files to some 60 servers, and rsync was excellent
for this.
however the script did do a lot of calculations which perl sucks at
and was using too much memory/cpu.
i took a look at rsync.h and it seemed way too complicated to use. or
maybe i didn't look hard enough
does anyone know how to use rsync in a c program without using a
system call?
 
Reply With Quote
 
 
 
 
Mark A. Odell
Guest
Posts: n/a
 
      06-28-2004
http://www.velocityreviews.com/forums/(E-Mail Removed) (elia Mazzawi) wrote in
news:(E-Mail Removed) m:

> Hi,
> i'm replacing a perl script with a C program, so the perl script used
> to rsync very many files to some 60 servers, and rsync was excellent
> for this.
> however the script did do a lot of calculations which perl sucks at
> and was using too much memory/cpu.
> i took a look at rsync.h and it seemed way too complicated to use. or
> maybe i didn't look hard enough
> does anyone know how to use rsync in a c program without using a
> system call?


No. Not with ISO C, the topic of this newsgroup. Try comp.unix.programmer
instead.

--
- Mark ->
--
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
supplying password to subprocess.call('rsync ...'), os.system('rsync ...') timw.google Python 8 10-09-2007 03:06 PM
rsync and network file transfer speeds Joshua Jung Java 2 06-30-2006 08:08 PM
Starting rsync via ASP.Net M_at ASP .Net 1 03-28-2006 01:48 PM
rsync protocol in python David Bear Python 1 06-27-2005 09:45 PM
Doing readline in a thread from a popen4('rsync ...') stream blocks when the stream ends. Rasmusson, Lars Python 1 04-30-2004 08:10 AM



Advertisments