8000 GitHub - johnjhpark/rawfile_organizer: a simple Python script which organizes raw image files imported from a DSLR camera
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

a simple Python script which organizes raw image files imported from a DSLR camera

License

Notifications You must be signed in to change notification settings

johnjhpark/rawfile_organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rawfile Organizer

This simple Python script help you organize raw image files imported from a DSLR camera which saves both compressed and raw image files. (JPEG and CR2 format as default, respectively. However, you can simply change the formats by modifying only one line of code)

Key operations of this script

  1. relocate all raw files to a separted directory, named /rawfiles
  2. remove all the raw files in /rawfiles which do not have corresponding JPEG files in the working directory

How to run

  • In a terminal,
$> python rawfile_organizer.py

Recommendation for the use of this script

  1. copy this script file to the working directory where you import all JPEG and raw image files from your DSLR
  2. Run this script as an initialization
  3. Do your work: e.g.) look across the JPEG files and delete some of them that you don't want to keep any longer
  4. Run this script again after you finish working on the files

Implementation Details

Step 1:

  • check if the directory exists, or create it

Step 2:

  • move all raw files

Step 3:

  • make a list of filenames of the raw files
  • remove all entries which have the same file name of the jpeg files.
  • delete the raw files left in the list from the disk

License

Rawfile Organizer is released under the MIT license.

About

a simple Python script which organizes raw image files imported from a DSLR camera

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0