Metadata-Version: 2.4
Name: pycopy
Version: 2025.7.8
Summary: A simple python script (cli and package) for syncing files between directories
Author-email: Guenthner <guenthner.jonathan@gmail.com>
License-File: LICENSE.txt
Keywords: Files,Syncing
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# pycopy

This tool was made as a simple python library for syncing files. It also works famously as a simple cli for doing the same thing.

### Usage as library
```python
import pycopy

pycopy.sync("path/to/directory1", "path/to/directory2")
```

To make it also delete files:
```python
import pycopy

pycopy.sync("path/to/directory1", "path/to/directory2", do_delete=True)
```

### Usage as command
First install the library as a command, usually like so:
```bash
pipx install pycopy
```

Then simply execute the command using:
```bash
pycopy "path/to/directory1" "path/to/directory2" 
```

To make it also delete files:
```bash
pycopy -d "path/to/directory1" "path/to/directory2" 
```