Socket
Socket
Sign inDemoInstall

camera-media-extractor

Package Overview
Dependencies
506
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    camera-media-extractor

A media extractor from removable media


Version published
Weekly downloads
7
Maintainers
1
Install size
48.2 MB
Created
Weekly downloads
 

Readme

Source

camera-media-extractor

Build Status npm version

A node based command line tool to extract photos and videos from your camera and mobile phone, and tidy them up into tidy dated folders

Why?

The reason I built this piece of software is due to Google killing Picasa, which was a picture managing program

I really liked picasa specifically for the import feature that it had where if you attached a volume to your PC it would prompt you to import the images and videos from it, and it would automatically sort them into folders based on the dates of the pictures

Having lost the ability to do that, and any picture management program I found out there are simply way to bloated when I just want to automatically extract photos and videos from my devices

How does it work?

It scans all the pictures and videos (you can choose the file extensions) in your source folder, and it will create folders based on the Exif date of your file (or creation time if Exif is not available) and copy only new images and videos on to those folders

The file comparison is only based on file name at this time

Note: this will not delete any files from your source memory

How to use

Install from npm

  1. Install
npm install -g camera-media-extractor

Install from github

In a nutshell:

  1. Clone this repo
git clone https://github.com/sandman21dan/camera-media-extractor.git
  1. Run the following on the console:
npm i && npm run build && npm link

Use

  1. To extract files let's say from a memory card located in /mnt/f/ to your pictures folder located in /home/daniel/Pictures

You would run the following:

camera-media-extractor /mnt/f/ /home/daniel/Pictures

and let the magic happen

You can do a dry run if you only want to check which files would be copied

camera-media-extractor --dry-run /mnt/f/ /home/daniel/Pictures

FAQs

Last updated on 09 Oct 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc