Sort CSV output

Started by luvnrocs, September 10, 2021, 05:04:52 PM

Previous topic - Next topic

luvnrocs

I know there's a way to sort the columns by tag name or description but is there a way to sort the CSV output rows by a certain column? For example I want to sort the SourceFile column so that the filenames are in order rather than the random order I see now in my output. I know I can do this later in Excel but I'm trying to save a step if possible.

StarGeek

You can't specifically order the SourceName column, as that is not a real tag, just a special field for the -csv option, but you can use the -FileOrder option to order the list on any tag(s) you would like.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype