Sync files from camera SDs to different media
Project description
Sync Camera Disk
- Code: https://github.com/micktwomey/sync-camera-disk/
- PyPI: https://pypi.org/project/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:
- Identify which disks are plugged in
- Lookup configuration for how to map files
- Build a list of files to copy (each file should be a set of files to keep related files together)
- Use mapping to translate files to destination names
- Lookup files in destination to determine which need to be copied (for existing files use stat to determine if they are the same)
- (TODO) Build hashes for verification of files
By default treat identically named files which different metadata as an error.
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(13.3 kB
view details)
Built Distribution
File details
Details for the file sync_camera_disk-0.8.0.tar.gz
.
File metadata
- Download URL: sync_camera_disk-0.8.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 617c5096fca41a3896a6069e3e2d8572e59497a780471ba5411732e799a3fb5e |
|
MD5 | effdd739ea2c5bd6f54760c7139fd2ad |
|
BLAKE2b-256 | bf965ed3ee9bd2c326265a0e1aa9e47116c251967a1164e5257db815d6d6fcfa |
File details
Details for the file sync_camera_disk-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: sync_camera_disk-0.8.0-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9ee495eb33273bd66a4918c6e18ccc186c6418513f24719a89cb50c50d5de9c |
|
MD5 | 8ba86217985a4e7b91e47a33cbcfa9a4 |
|
BLAKE2b-256 | 7c0395a9607d613fb0f11823bcca8ce807de1cbd4e5e2f856f59529a125667bc |