Metadata-Version: 2.1
Name: doberman
Version: 0.0.2
Summary: A watchdog that when launched synchronise the remote directory with the content of the local one
Home-page: https://github.com/riccardobernardi/doberman
Author: Bernardi Riccardo
Author-email: riccardo.bernardi@rocketmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: bcrypt (==3.2.0)
Requires-Dist: cffi (==1.14.2)
Requires-Dist: cryptography (==3.0)
Requires-Dist: paramiko (==2.7.1)
Requires-Dist: pathtools (==0.1.2)
Requires-Dist: pycparser (==2.20)
Requires-Dist: PyNaCl (==1.4.0)
Requires-Dist: pysftp (==0.2.9)
Requires-Dist: six (==1.15.0)
Requires-Dist: watchdog (==0.10.3)

![bigstock-Rottweiler-328396071](https://www.dognotebook.com/wp-content/uploads/2015/04/bigstock-Rottweiler-328396071.jpg)

# 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:

```python
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:

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



[RUN] Then type this:

```bash
python3 main.py directory_to_watch_path username password server_ip remote_directory
```



Issues:

- Drop me an email: [riccardo.bernardi@rocketmail.com](mailto:riccardo.bernardi@rocketmail.com)
- Linkedin: https://www.linkedin.com/in/riccardobernardi/



Are you happy with this?

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



