Skip to main content

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.

Metadata

Release files for sync-camera-disk 0.8.1

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

Source distribution (sdist)

Source distribution for sync-camera-disk 0.8.1
File Size Uploaded
sync_camera_disk-0.8.1.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sync-camera-disk 0.8.1
File Interpreter ABI Platform
sync_camera_disk-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 35.2 kB

Release files / sync_camera_disk-0.8.1.tar.gz

Download URL sync_camera_disk-0.8.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d5cc7118d81282f7897512e3f09721f128b7d9f52f80e2fa329c4682d9329a42
BLAKE2b-256 checksum
How to use checksums
975be9bcc050a2d20c90284faf1032a85b3d6d9f8e982ae7bd436fd4216e8e91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

Release files / sync_camera_disk-0.8.1-py3-none-any.whl

Download URL sync_camera_disk-0.8.1-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
340e28cef009330c7d66fa72fcabdae2a7d29894f163c5f9654a20f94c69b6c4
BLAKE2b-256 checksum
How to use checksums
04185a74d2499dcba46bd75f35b6254dd1a2f4926cf5faad0b248f426d8ec66d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

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