Skip to main content

flashair_sync

Simple one way directory syncer for Toshiba Flashair SD cards, used in 3D printers.

Installation

$ pip install flashair_sync

or under Windows:

C:\>py -m pip install flashair_sync

Example usage

$ flashair_sync /directory/with/x3g_files 192.168.178.70 x3g s3g

or under Windows:

$ py flashair_sync c:\directory\with\x3g_files 192.168.178.70 x3g s3g

If you want to do an initial sycn to the card, add the -i switch.

–help output

usage: flashair_sync [-h] [-p POLL_INTERVAL] [-i]
                   directory_path flashair_address file_extensions
                   [file_extensions ...]

Watch a directory for change/delete events to files and sync to flashair card
(not recursive!).

positional arguments:
  directory_path        The directory to watch for changes.
  flashair_address      The address of your flashair card, eg.
                        "192.168.178.41"
  file_extensions       Only files that match one of these extensions get
                        monitored.

optional arguments:
  -h, --help            show this help message and exit
  -p POLL_INTERVAL, --poll_interval POLL_INTERVAL
                        How many seconds between directory polls (default is 1).
  -i, --initial_sync    Copy all files that are new or changed to the card on
                        program start, also delete all files on the card which
                        are not in the current directory.  Without this switch
                        only files that are new/modified/deleted after the
                        program start are synced.

Metadata

Release files for flashair_sync 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flashair_sync 0.1.0
File Size Uploaded
flashair_sync-0.1.0.tar.gz 3.5 kB Details

Release files / flashair_sync-0.1.0.tar.gz

Download URL flashair_sync-0.1.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ee7e8273d0151c8e83ab2a114f2f3cd0e68c82d4162f8a4f46fc825267f5d5f1
BLAKE2b-256 checksum
How to use checksums
a44932804003edf57ff1adebf5ffcf5ddb22b9c8a809b270bcfdfd6eed936d7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.22

1 release file

0.0.21

1 release file

0.0.20

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page