Skip to content

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

License

Notifications You must be signed in to change notification settings

micktwomey/sync-camera-disk

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages