Skip to main content

Backup With rsync

Does what it says. Useful for frequent syncing between two devices with similar directory hierarchies. I use it for daily copying (over ssh) between one laptop (desktop replacement at home) to the other (more portable laptop).

Why?

rsync has a lot of switches, and it’s exhausting to loop over them with say --delete flag for certain directories and not for others. With this script one can specify all that in a configuration file and just sync whenever you want.

Features

  • yaml configuration to specify directories and flags

  • Overriding arguments supported at command line.

  • Sensible rsync defaults

Example configuration

host:
  user@portable
root:
  /home/user
supported_dirs:
  Documents:
    delete: false
  Downloads:
    delete: false
  Mail:
    delete: true
  Videos:
    delete: true

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

backup_with_rsync-0.9.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file backup_with_rsync-0.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for backup_with_rsync-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d529b3ecee56fe312420ca886476680df12cf60d23f58df04cf136571153642e
MD5 51cea146851ccb64df3a0b4412e15905
BLAKE2b-256 b7ce833ce440a6bac2bdd8835af36bf174e7996e1834e6082a3daf25ebfba9a1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.9.2 This release

1 file

0.9.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page