File Size in Bytes

Started by bornpilot, October 30, 2011, 08:07:32 PM

Previous topic - Next topic

bornpilot

Greetings, I use exiftool with my macintosh for creating a podcast rss feeds. I recently upgraded to the newest version to use the csv option. Howerver, when I use the tool with the csv option to extract the filesize it's in human readble format such as 12MB. If I use the verbose option it displays the filesize in bytes however the verbose option does not seem to work with -csv to extract the filesize.

My, question what is the best way to get get the filesize in bytes as a csv format for mp3's?


Phil Harvey

You can either use the -n option, which will returns numerical values for all tags, or add a # to an individual tag name (ie. -filesize#) to do this for a single tag.

- 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 ($).

bornpilot

Thank you. This has been working well.