Skip to main content

Automatically trigger command on directory update

Project description

fync - Automated File Sync

fync is a tool for automated command synchronization. It allows you to observe file changes and execute a sync command based on the specified options.

Installation

Install fync using pip from PyPI:

pip install fync

Install from GitHub

pip install git+https://github.com/fanuware/fync.git

Usage

fync[OPTIONS] COMMAND

Example fync

Observe changes in a specific directory and run a command

fync --path=/path/to/observe command

Use cp

fync cp source destination

Use rsync

fync rsync -av source destination

Example fync-get

Authenticated file download

fync-get <URL>
fync-get --update <URL>

For example, you can download using Bearer or Basic Authentication.

fync-get https://httpbin.org/bearer
fync-get https://httpbin.org/basic-auth/test-user/test-password

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

fync-1.3.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

fync-1.3.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file fync-1.3.1.tar.gz.

File metadata

  • Download URL: fync-1.3.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fync-1.3.1.tar.gz
Algorithm Hash digest
SHA256 9ebc9c4574414bd21ae99adb7b344d650e4b8fac2b56329347bde862e5b78fff
MD5 7d2daef02a4943c1c84767dfebd79abf
BLAKE2b-256 dc3e3248febdf07ff341edfd2ea52e13bc713b3f0c7f41d7de1c6b65cc900855

See more details on using hashes here.

Provenance

The following attestation bundles were made for fync-1.3.1.tar.gz:

Publisher: build-publish.yml on fanuware/fync

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fync-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: fync-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fync-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec8abcd059c63d61b7f02b012a6425baf2a2180503c8baf94ad39d8a42aebdfa
MD5 9495366ccdc1bce30b30666bc3df40f2
BLAKE2b-256 3e805d8e2d6e25e33b088396131b52a2c64a333e84c02f117baad4e865b3435d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fync-1.3.1-py3-none-any.whl:

Publisher: build-publish.yml on fanuware/fync

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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