Skip to content

DaemonLife/sort_images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Description

This script sort images by DateTimeOriginal (shoot date) with renaming files. For example you have "DSC04586.jpg" file and output it as YYYY:MM:DD-HH:MM:SS - "2024:05:08-17:45:19.jpg".

Preinstallation

NixOS

For shell:

nix-shell -p exiftool

Or for system:

  environment.systemPackages = [
    pkgs.exiftool
  ];

Fedora

sudo dnf install perl-Image-ExifTool

Arch and Manjaro

sudo pacman -Syu perl-image-exiftool

Running

Copy script to folder with your images (make backups!). Add permisions for running:

chmod +x photo_sorter.sh

And run in photo folder:

bash photo_sorter.sh

About

Sort images by DateTimeOriginal (shoot time)

Resources

Stars

Watchers

Forks

Languages