Skip to main content

File/Directory syncing over scp

Project description

scpy is a command line tool to autosync files and directories to remote servers over ssh. For windows users, there is a program called winscp that can automatically keep a remote directory up to date with a local one. I didn’t find a tool I liked to do this on linux, so I made this one.

It follows the usage of the regular scp command with a couple of slight differences.

  • There is no need to supply the -r option for directories. It determines itself whether it’s a directory or not
  • You can only push files to remote servers, you can’t pull them back
  • There is no globbing support (yet)

Usage Examples

scpy workspace/src username@

This will sync the local folder ./workspace/src to /src on It overwrites the src folder on the remote machine.:

scpy workspace/src/ workspace/src/ username@

This will synchronize the 2 local files and to /home/username/workspace/src/ on

scpy workspace/src/ workspace/src/ username@

This is the same as above but it will sync the same files to both and

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for scpy, version 1.1.4
Filename, size File type Python version Upload date Hashes
Filename, size scpy-1.1.4.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page