rsync in a C program?

E

elia Mazzawi

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?
 
M

Mark A. Odell

(e-mail address removed) (elia Mazzawi) wrote in

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top