File Inventory

Started by neebah, July 18, 2018, 12:07:25 AM

Previous topic - Next topic

neebah

Is it possible to output a text file in the following format based on all of the files in a specified directory

Date #1
         File 1
         File 2
Date #2
         File 1
         File 2

etc. 

neebah

Also could this be done for all of the tags in all files.  Basically replace the word Date with Tag. 

With a count for each tag type of the number of files that possess it. 

Phil Harvey

I would do it like this:

exiftool -createdate -filename -T | sort

Then you get a list of sorted dates and filenames.  You would need to do some post processing to get the dates on a different line.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

neebah

I'm not sure I clarified myself.   Here is what I meant

Date #1
         Files with Date #1
         ....
Date #2
         Files with Date #2
         ....
etc


I'm using this as a way of collecting duplicate (at least where the dates are the same)

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).