Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

59 lines (58 sloc) 1.612 kB

NAME

ftpsync – synchronizes a directory with an FTP host efficiently.

SYNOPSIS

ftpsync -h

ftpsync [-q] [-s]

DESCRIPTION

ftpsync is a program that synchronizes all files beneath the current
directory with an FTP host efficiently.

The destination host is identified by a .ftp_upstream in the current
directory that must have the following line:

ftp://user@host/path

The password is found by looking at ~/.netrc, see netrc(5).
If netrc is unavailable, then gnome-keyring is used. For more information
about gnome-keyring, please refer to http://wiki.github.com/xrogaan/ftpsync/.

ftpsync sends all files in the current directory to the target host, and stores
the MD5 of the sent files in a hashes.txt files in the remote host. When
syncing again, it checks the MD5 of each file against the one stored in the
remote hashes.txt file, and only sends the files that are different. This
makes ftpsync very efficient when synchronizing a directory with only a few
different files, as long as they are always sent by ftpsync.

OPTIONS

-h Help.

-q Quiet mode.

-s Safe mode: sends hashes.txt after every successful file transfer.

AUTHORS

Originaly written by Leandro Penz

gnome-keyring and fixes by Bellière Ludovic

SEE ALSO

ftp(1),
netrc(5)

Jump to Line
Something went wrong with that request. Please try again.