Skip to content

A script to remove "sidecar" JPEG files generated by RAW image files.

License

Notifications You must be signed in to change notification settings

sgryjp/rm-sidecar-jpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rm-sidecar-jpeg

What's this?

A script to remove (delete) "sidecar" JPEG files.

Description

A sidecar jpeg file is a file which has the same name as a paired RAW image file which is generated by digital cameras or RAW development softwares. Note that JPEG files which is a master image will not be targeted so this script only targets JPEG files which can be regenerated by RAW development process.

For example, if there are directories and image files as below:

2014-03-07 Tokyo/_3070001.jpg
                /_3070001.ORF
                /DSCN0186.jpg
2014-03-08 Yokohama/_3090001.jpg
                   /_3090002.ORF

executing this script will remove 2014-03-07 Tokyo/_3070001.jpg only.

Full command line usage is:

Usage: rm-sidecar-jpeg [-f] [-l] [-h] [DIRECTORY]

A script to remove (delete) "sidecar" JPEG files recursively.

A sidecar jpeg file is a file which has the same name as a paired RAW
image file which is generated by digital cameras or RAW development
softwares. Note that JPEG files which is a master image will not be
targeted so this script only targets JPEG files which can be
regenerated by RAW development process.

This scripts searches the DIRECTORY and its subdirectories for JPEG
files if specified. If no directory was specified, this scripts searches
current directory.

Options:
  -f          remove sidecar JPEG files without a prompt
  -l          just list sidecar JPEG files
  -h          show this help message and exit

Supported Platform

Any platform where Python runs so:

  • Windows (tested with Python 3.3)
  • Mac OS X (not tested)
  • Linux (not tested)

Notes

  • This script DELETES YOUR DATA PERMANENTLY so please do not use unless you understand what this script do.

About

A script to remove "sidecar" JPEG files generated by RAW image files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages