Skip to main content

filesync

A file sync tool to sync local files using webdav

To install this software you may use the PIP package manager such as shown below

sudo pip install filesync

Use sync_folder as shown below to copy local files to cloud or visa verse

from filesync.filesync import sync_folder

cloud_uri="https://myuser:mypassword@webdav.cloud.."
local = "/media/data"


###############
# sync from cloud

print("** sync cloud homevideo -> local homevideo **")
sync_folder(cloud + '/homevideo', local + '/homevideo', ignore_patterns=['*/~*'])

print("** sync cloud family -> local family **")
sync_folder(cloud + '/family', local + '/family', ignore_patterns=['*/~*'])



###############
# sync to cloud

print("** sync local homevideo -> cloud  homevideo **")
sync_folder(local + '/homevideo', cloud + '/homevideo', ignore_patterns=['*/~*'])

Metadata

Release files for filesync 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for filesync 0.1.1
File Size Uploaded
filesync-0.1.1.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for filesync 0.1.1
File Interpreter ABI Platform
filesync-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / filesync-0.1.1.tar.gz

Download URL filesync-0.1.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
af7d7e3c1cfafdc977ad5aa6cf7acd72f3606ff92b4e7535e0dfe19cf87a30bc
BLAKE2b-256 checksum
How to use checksums
cedf85644dfe70db7b5b590492412d0a4d15834228c0518aec24707bd0746975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / filesync-0.1.1-py3-none-any.whl

Download URL filesync-0.1.1-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0573cced8b085e2fbb8714c31671db29fb08ca85755c5d5bf71b4970a1b6118c
BLAKE2b-256 checksum
How to use checksums
7c502dc4247d48e37f81e1d5668543ec250277beeb0d34a3d38a1a20e3165c75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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