Linux Commands Examples

A great documentation place for Linux commands


compute and apply signatures and diffs to directories

see also : duplicity - python


rdiffdir [options] sig[nature] basis_dir signature_file

rdiffdir [options] delta signature_file new_dir delta_file

rdiffdir [options] patch basis_dir delta_file

rdiffdir [options] tar basis_dir tar_file

If signature_file or delta_file are "-", the data will be read from stdin or written to stdout as appropriate.

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


rdiffdir is supposed to be like rdiff, but can operate on directories. See rdiff(1) for more information. The syntax is similar.


--write-sig-to sigfile

This option is only used in delta and tar modes. When specified, rdiffdir will write a signature of the directory it is processing to sigfile. The end result will be a delta and a new signature calculated over the same data.

-z, --gzip-compress

Enable gzip compression and decompression of signature and delta files.

selection options

In signature and delta modes, rdiffdir accepts duplicity-like selection options including --exclude, --exclude-filelist-stdin, etc. See the duplicity(1) manual page for more information.


Hard links are currently unsupported (they will be treated as non-linked regular files).

Bad signatures will be treated as empty instead of logging appropriate error message.

see also

duplicity , python , rdiff, rdiff-backup.


Ben Escoto <bescoto[:at:]stanford[:dot:]edu>

How can this site be more helpful to YOU ?

give  feedback