logo elektroda
logo elektroda
X
logo elektroda

Create Folders & Copy Photos by Date: YYYY_MM Sorting Script for Photo Organization

marioano12 1017 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19063934
    marioano12
    Level 5  
    Separated from Link adamas_nt

    Hello
    These scripts are very nice

    Would it be possible to write such a script for sorting photos, similar to the one previously described by your colleague?
    I would need the script to create directories based on the date the photo was taken.
    I created directories called year_month (YYYY_MM) and then moved the photos to these directories regardless of the filenames.

    thanks for the help.
  • ADVERTISEMENT
  • #2 19064377
    clubs
    Level 38  
    marioano12 wrote:
    I would need the script to create directories based on the date the photo was taken

    Then you need to be interested in programs like exiftool to get the date from the metadata.
    ps. and don't "reheat old chops"
  • #3 21313579
    pseudocfoch
    Level 2  
    You can use mediainfo, too, but exiftool will be more powerful. I am sure ChatGPT can do it fast.
ADVERTISEMENT