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.8.1.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

sync_camera_disk-0.8.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sync_camera_disk-0.8.1.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for sync_camera_disk-0.8.1.tar.gz
Algorithm Hash digest
SHA256 d5cc7118d81282f7897512e3f09721f128b7d9f52f80e2fa329c4682d9329a42
MD5 2078014e2c4e57443c5d3b834950e5fd
BLAKE2b-256 975be9bcc050a2d20c90284faf1032a85b3d6d9f8e982ae7bd436fd4216e8e91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sync_camera_disk-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 340e28cef009330c7d66fa72fcabdae2a7d29894f163c5f9654a20f94c69b6c4
MD5 c1e47e1fa6062f118ff8605e1f9d1bf7
BLAKE2b-256 04185a74d2499dcba46bd75f35b6254dd1a2f4926cf5faad0b248f426d8ec66d

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