Coder Social home page Coder Social logo

kanzihuang / ftpsmartsync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lpenz/ftpsmartsync

0.0 2.0 0.0 69 KB

Sync local path with FTP remote efficiently by transmitting only what is necessary

License: GNU General Public License v2.0

Python 90.98% Roff 9.02%

ftpsmartsync's Introduction

Build Status codecov PyPI version

ftpsmartsync

About

ftpsmartsync 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/

ftpsmartsync 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 ftpsmartsync very efficient when synchronizing a directory with only a few different files, as long as they are always sent by ftpsmartsync.

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

ftpsmartsync's People

Contributors

lpenz avatar xrogaan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.