Skip to main content

A watchdog that when launched synchronise the remote directory with the content of the local one

Project description

doberman

MonitoringAndUpload

A watchdog tool that uploads the modifications of local files to a remote server. It is very simple it needs only to have:

  • one local directory to be watched
  • one remote directory that you would like to sync with the local one
  • password and ip of the server

Compatibility:

  • MacOs -> natively
  • Linux -> natively
  • WinOs -> we don't like it but if you install Ubuntu subsystem it will hopefully work:)

[SETUP]

Make a list of the things that you would like to monitor! An example here:

import os

def to_watch(dir_path):
	with open("./files_to_monitor.txt",mode="w") as ff:
		ff.write("\n".join(arr))

to_watch(...)

Does the txt file need to be called "files_to_monitor.txt"? Yes, please.

[RUN] To run the tool enter the directory of this app with the command:

cd /Users/...fill with the actual path here.../MonitoringAndUpload

[RUN] Then type this:

python3 main.py directory_to_watch_path username password server_ip remote_directory

Issues:

Are you happy with this?

  • drop me a star
  • fork
  • write me an email and we can start a partnership

Project details


Download files

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

Source Distribution

doberman-0.0.4.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

doberman-0.0.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file doberman-0.0.4.tar.gz.

File metadata

  • Download URL: doberman-0.0.4.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.4

File hashes

Hashes for doberman-0.0.4.tar.gz
Algorithm Hash digest
SHA256 95c793795a6cb4646e9a5df5c4adaa182f31efeffe4fbbde3c513519066969a6
MD5 afde2ba783a8cf76c87e972d539799e1
BLAKE2b-256 8a855e851ef9821499f392eeb9de5670ca6b9307216db5e652350f312a254782

See more details on using hashes here.

File details

Details for the file doberman-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: doberman-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.4

File hashes

Hashes for doberman-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f45ce101e5557e7422b14b47ade5848dc16dd5d11e236176cc88b4cb7be31dfe
MD5 1794298577290a12680eb997a05b353a
BLAKE2b-256 bd63e836925875dcd917ca9429af3614c63306d06d487aee31787b01f6d2e214

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page