Skip to main content

Sync files from camera SDs to different media

Project description

Sync Camera Disk

This is tool for syncing SDs and USB disk mounted cameras to my NAS for later importing into apps.

The goal is to ingest photos and videos onto the NAS and be confident I can delete them off the camera when done.

In addition: multiple sequential runs should be idempotent.

Overall approach:

  1. Identify which disks are plugged in
  2. Lookup configuration for how to map files
  3. Build a list of files to copy (each file should be a set of files to keep related files together)
  4. Use mapping to translate files to destination names
  5. Lookup files in destination to determine which need to be copied (for existing files use stat to determine if they are the same)
  6. (TODO) Build hashes for verification of files

By default treat identically named files which different metadata as an error.

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

sync_camera_disk-0.6.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

sync_camera_disk-0.6.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file sync_camera_disk-0.6.0.tar.gz.

File metadata

  • Download URL: sync_camera_disk-0.6.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Darwin/23.5.0

File hashes

Hashes for sync_camera_disk-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a649f7375a42f74bb5d33bb62055f6c476be595d4a2a2065a6fea2ea02ea6ca3
MD5 85af7dce4d66c460fd4761f74b917907
BLAKE2b-256 bec49e51cce3787152f70d58fe5b91f262a6720f8d5c7b1730f9dbd6d47d390d

See more details on using hashes here.

File details

Details for the file sync_camera_disk-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sync_camera_disk-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 574a897c5c20b0a51727dc43c0b9cca10b1d32c7f078ba91e40a40ee611a9f0c
MD5 16ec36e9052c23ac94130f8735b58f1c
BLAKE2b-256 50024f2314799b3ac792c6d29854d3c7733371b63e7be6aa6a29a455e561dffb

See more details on using hashes here.

Supported by

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