Questions tagged [librsync]
librsync, the network delta compression library
24
questions
1
vote
1
answer
126
views
List files that satisfies Rsync Filter
Given a rsync filter file that looks something like this, is there a way to list all files in the directory that satisfy the filter?
+ /var/lib/hello/samba/*
- /var/lib/world/sdfs/
- /var/lib/world/...
1
vote
1
answer
3k
views
Using rsync4j library, a Java implementation of Linux rsync tool, how to sync data from a remote directory with a local directory
I need the functionality like that of the rsync linux tool in my Java program. For that, I chose the rsync4j library.
Using their documentation, I wrote the following program:
import com.github....
2
votes
0
answers
3k
views
Using rsync programmatically in c++
I am using rsync command-line tool to transfer files from a source folder to a destination folder as follows:
rsync -r /source_folder /destination_folder
How can this be done programmatically in c++...
2
votes
1
answer
185
views
Librsync: Win10 and Win8/Win7 Different results
I'm using librsync for generating binary patches and send them to another users.
But i faced a problem: on some files on win8/win7 checksum (sha512) after applying patch differs from checksum after ...
1
vote
0
answers
86
views
Unicode filenames as parameters in Command Prompt
I am successfully using rdiff.exe and cygwin1.dll to create signatures from command prompt.
My Problem is that with Unicode files it is not working?
rdiff -b 10240 signature "ฉันเจ็บ.txt" "ฉันเจ็บ....
0
votes
1
answer
30
views
Replicating changes in a set of ~10000 uniquely-identified pieces of data across unreliable network
Alice and Bob have two sets of ~10000 pieces of data (each smaller than 65536 bytes, usually much smaller), each with a 12-byte ID (timestamp + CRC32). They both would like to have a union of these ...
2
votes
1
answer
430
views
Stream.CopyTo Hangs when used with Librsync.PatchStream
I'm using Librsync in a project to calculate the differences between two versions of a file and apply the changes to the old file.
Outside of my project I got it working in a simple console app that ...
1
vote
2
answers
1k
views
Can't pickle StringO objects (while trying to serialize the signature returned from librsync-python module)
https://pypi.python.org/pypi/python-librsync/0.1-5
import librsync
# The destination file.
dst = file('Resume-v1.0.pdf', 'rb')
# Step 1: prepare signature of the destination file
signature = ...
2
votes
2
answers
2k
views
How to use librsync functions to open remote files?
I am using librsync library for maintaining file versions. I am not able to open files from a network.
Example (creating signature file):
int main(int argc, char** argv)//FILE *original, FILE *...
0
votes
1
answer
209
views
Is it possible to write on s3 key using boto?
I have an app built with boto that sync files locally using librsync(wrapped in a python module). I was wondering if is it possible to write on S3 keys so that I could use librsync remotely, for ...
0
votes
1
answer
453
views
Segmentation fault - while using librsync library
I have two base file filea.txt and fileb.txt. Trying to create signature, then delta using signature and fileb.txt, then patch filea.txt with that delta. Resulting file's contents should be same as ...
1
vote
1
answer
177
views
How to link librsync (which might have used libtool)
Just installed librsync using apt-get install librsync-dev on ubuntu. I can link other libraries like this pkg-config --libs --cflags glib-2.0 but I can't find librsync using pkg-config. How can I ...
0
votes
1
answer
366
views
Writing a python wrapper for librsync with ctypes. How should I compile librsync to work on all systems?
So I'm writing an application in python which requires librsync for more efficient file transfers. I want my librsync wrapper to work so that if librsync is already installed on the system it will use ...
2
votes
1
answer
1k
views
Installing rdiff on docker containers
I am trying to make a backup solution off docker containers using rdiff. I have python install and the python-dev packages but when I run the install command:
python ./setup.py install
I get the ...
0
votes
1
answer
219
views
Trying to build rdiff-backup, getting error "/usr/bin/ld: cannot find -lrsync"
I am trying to build the latest version of rdiff-backup on a CentOS 6 x64 box. (linode).
I am getting the error as follows:
/usr/bin/ld: cannot find -lrsync
I have searched for a rsync.so file ...
0
votes
1
answer
1k
views
How to compile and build librsync using visual Studio 2010?
We have a requirement where we need some rsync library.I came across something named as librsync and downloaded it from this Link
In the readme file of this library its mentioned
The PCbuild ...
0
votes
2
answers
306
views
C - good differential compression library for commercial use?
Anyone happens to know a good differential compression library for C, and okay for commercial use (no GPL, so xdelta is out of the question)? I googled around, there was zdelta, but it hasn't been ...
1
vote
1
answer
982
views
Install librsync on Amazon EC2 instance
I have trouble installing this library called librsync on an Amazon standard linux instance.
I tried this:
yum install librsync-devel
but I got No package librsync available (fair enough I guess!)
...
0
votes
1
answer
2k
views
How to install librsync
Trying to install the php-rsync module using pecl and I'm receiving the following errors:
CentOS 6.3
[root@]# pecl install rsync
Failed to download pecl/rsync within preferred state "stable", ...
0
votes
1
answer
2k
views
How to call librsync anyway?
I'm trying to understand how to get librsync to work (ie. make signature/make delta/patch) under CENTOS 5.8 x86_64 standard (before I eventually try to compile it under windows), but since I'm mainly ...
3
votes
0
answers
755
views
Building/calling librsync on Windows from Delphi 2010
I'm currently using the rdiff windows port from my delphi 2010 application to calculate delta/signature for remote delta/diff
I'm trying to explore the possibility of using the librsync library ...
0
votes
1
answer
1k
views
rdiff python module
Is there a python module that has the functionality for computing rdiff signatures and delta differencing?
I need to perform these operations on a cross-platform application so I'll need something ...
10
votes
2
answers
4k
views
Binary diff algorithm for commercial software
I'm working on application sending changed files to other computers. Currently a changed file is sent completely even if the change is minor. I'm looking for a library (C,C++,Java) that would allow me ...
4
votes
5
answers
610
views
Best method to determine changed data in C++
I need to write a tool in C++ to determine the changed bits in a file compared against another file for replication. What would be the best method of accomplishing this?
I don't have a specific OS ...