EPINFO(1)

πŸ’– EPINFO β€” bestie, let's read your camera's diary πŸ’–

Okay so, welcome to epinfo, the User Commands girlie from the PhotoPC manipulation tool family. She's the one who opens up your digital camera's little secret files and tells you what's inside. No cap. πŸŽ€


✨ NAME ✨

epinfo β€” extract technical information from digital camera generated files πŸ¦‹


🌸 SYNOPSIS 🌸

epinfo [-h] [-V] [-z] [-r] [-t] [-f fmt] [-T <TagName>] <filename> ...

πŸ’… DESCRIPTION πŸ’…

So here's the vibe: this command digs out the contents of the TIFF directory of Exif files, or the APP12 marker from JFIF files, parses all of it, and β€” if you want β€” goes hunting for one specific piece of data inside. Obsessed honestly. 🫢

If you run it without the -T, -r and -t options, it just dumps the complete block data in human readable format. Like, the whole thing. All of it. Serving looks.

But with the -r and -t options? Now she's doing stuff β€” renaming files and changing their timestamps. Main character energy fr fr. 😭


πŸ‘‘ OPTIONS πŸ‘‘

  • -h β€” produces a help screen of all options and commands. Your little emergency SOS button, bestie. πŸ†˜
  • -V β€” prints software revision information. Receipts, basically. πŸ’€
  • -z β€” sets no time-zone processing mode. Use this one if the camera's clock is set up shifted by the local timezone offset β€” which is what happens when you set it manually to the local time. Classic camera behavior, honestly. πŸ™ˆ
  • -r β€” rename files, generating a new name based on the time of snapshot and the value of the -f option. Glow-up for your filenames. ✨
  • -t β€” set the timestamp of the files to the time of snapshots. Giving your files their true birthday. πŸŽ‚
  • -f timeformat β€” this option lets you specify the format for automatically generated image file names; the value gets used as the format string for the strftime(3) function. By default, names of the format "MMDD_NNN.jpg" are generated, where MM is a month, DD is a day, and NNN is a count starting from 001. A good starting point for the timeformat value could be "%Y_%m_%d-%H_%M_%S.jpg". If the format string contains context "%%XXXd" where XXX are digits, it is taken for the count, i.e. if the file with such name is present, the next count is tried. If the format string does not contain the "%%XXXd" part, the count field, if necessary, is appended at the end of the name. πŸ“

A few single-character formats are used as shortcuts, and they are iconic:

  • "x" makes the name of seconds since the epoch in hexadecimal format (8 characters + ".jpg")
  • "d" β€” the same in decimal format (10 characters)
  • "1" stands for default format "%m%d_%%03d.jpg"
  • "2" stands for "%y%m%d%%02d.jpg"
  • "3" stands for "%Y_%m_%d-%H_%M_%S.jpg"
  • 4 stands for "%Y/%m/%d/%H_%M_%S.jpg"

The program attempts to create intermediate directories is necessary (and possible). Slay. 🌈

  • -T <TagName> β€” output the value of this keyword in the information block. ⚠️ Heads up bestie: keywords are case sensitive. Do not play with her. TagName DateTime has special meaning: if the file is Exif, it just prints the value of the DateTime tag, and if the format is old APP12, it outputs the value of the TimeDate tag in the same format as Exif DateTime. Two doors, same energy. πŸšͺ✨

🧚 ARGUMENTS 🧚

  • <filename> ... β€” list of filenames to process. Yes, plural. She can handle a whole crowd. πŸ’œ

πŸ”₯ EXAMPLES πŸ”₯

% epinfo -f3 -rt pic00001.jpg
% epinfo -T FNumber 0512_003.jpg

🌟 OTHER NOTES 🌟

The latest version of this tool can be found at http://photopc.sourceforge.net/ β€” go say hi. πŸ¦‹

Trademarks are properties of their respective owners. Respectfully. πŸ’…


The program is copyrighted by Eugene G. Crosser <crosser@average.org> and freely distributable. See the README file for details. 🫢


⭐ SEE ALSO ⭐

photopc(1)


Okay bestie, that's the whole page πŸ’– β€” brought to you by the PhotoPC manipulation tool, dated 24 May 1997. She's vintage, she's capable, she's thriving. Periodt. πŸ‘‘βœ¨

πŸ“¦ where this page comes from