Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sync-camera-disk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sync-camera-disk

Sync files from camera SDs to different media

  • 0.8.1
  • PyPI
  • Socket score

Maintainers
1

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:

  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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc