Sign inSign up

raainman/docker-exifsort-yearmonth

By raainman

•Updated over 8 years ago

docker-exifsort on yearmonth work in progress

Image
1

404

raainman/docker-exifsort-yearmonth repository overview

This is still work in progress, use at your own risk !

That said, this container is to sort jpg files into a YYYY/MM structure, it will also rename the files into YYYY_MM_DD_HH_MM_SS.jpg

You can use this with the following docker command;

Launch the ExifSort docker container with the following command:

docker run -d -rm -it \
    --name=exifsort-yearmonth \
    -v /var/photo:/var/photo:rw \
     raainman/docker-exifsort-yearmonth

⁠Usage

docker run [-d] [-rm] [-it] \
    --name=exifsort-yearmonth \
    [-e <VARIABLE_NAME>=<VALUE>]... \
    [-v <HOST_DIR>:<CONTAINER_DIR>[:PERMISSIONS]]... \
    raainman/docker-exifsort-yearmonth
ParameterDescription
-dRun the container in background. If not set, the container runs in foreground.
-rmRemove the container when it is done (and all the photo's are sorted)
-itKeep outputting the progress, even when not attached
-ePass an environment variable to the container. See the Environment Variables⁠ section for more details.
-vSet a volume mapping (allows to share a folder/file between the host and the container). See the Data Volumes⁠ section for more details.
-pSet a network port mapping (exposes an internal container port to the host). See the Ports⁠ section for more details.

replace the photo folder with your own folder.

Use with care, this is still work in progress !

Tag summary

Content type

Image

Digest

Size

86.8 MB

Last updated

over 8 years ago

docker pull raainman/docker-exifsort-yearmonth