Skip to main content

A simple python script (cli and package) for syncing files between directories

Project description

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

import pycopy

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

To make it also delete files:

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:

pipx install pycopy

Then simply execute the command using:

pycopy "path/to/directory1" "path/to/directory2" 

To make it also delete files:

pycopy -d "path/to/directory1" "path/to/directory2" 

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pycopy-2025.7.54.tar.gz (112.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycopy-2025.7.54-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pycopy-2025.7.54.tar.gz.

File metadata

  • Download URL: pycopy-2025.7.54.tar.gz
  • Upload date:
  • Size: 112.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for pycopy-2025.7.54.tar.gz
Algorithm Hash digest
SHA256 5dc86d13cba0f0aa5c2df20b227b976fdb2e1b9113accc1c6e8c1edbe445abfd
MD5 346768c3d88793095e663eabc3de067d
BLAKE2b-256 dad1750a03b8c2b1141272361cbc408cc3c5cabdab1cbf575be7bb023ebf16d0

See more details on using hashes here.

File details

Details for the file pycopy-2025.7.54-py3-none-any.whl.

File metadata

  • Download URL: pycopy-2025.7.54-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for pycopy-2025.7.54-py3-none-any.whl
Algorithm Hash digest
SHA256 68047cdcf8fa8a3335322db44cac224dd5b5a72085fe40bd88326f89b67d34d9
MD5 1c53701410871c5facab6163289a5c34
BLAKE2b-256 112709f19938f1d3db2c0b81630a042018381694ab580f26a43141ca03cb2580

See more details on using hashes here.

Supported by

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