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.3.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

doberman-0.0.3-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

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