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-foption. Glow-up for your filenames. β¨-tβ set the timestamp of the files to the time of snapshots. Giving your files their true birthday. π-ftimeformat β this option lets you specify the format for automatically generated image file names; the value gets used as the format string for thestrftime(3)function. By default, names of the format"MMDD_NNN.jpg"are generated, whereMMis a month,DDis a day, andNNNis a count starting from001. A good starting point for the timeformat value could be"%Y_%m_%d-%H_%M_%S.jpg". If the format string contains context"%%XXXd"whereXXXare 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"4stands 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. TagNameDateTimehas special meaning: if the file is Exif, it just prints the value of theDateTimetag, and if the format is old APP12, it outputs the value of theTimeDatetag in the same format as ExifDateTime. 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. π
π COPYRIGHT π
The program is copyrighted by Eugene G. Crosser <crosser@average.org> and freely distributable. See the README file for details. π«Ά
β SEE ALSO β
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
- debian bookworm: photopc 3.07-2 Β· permissive
- ubuntu jammy: photopc 3.07-2 Β· permissive
- ubuntu noble: photopc 3.07-3 Β· permissive
- ubuntu resolute: photopc 3.07-4 Β· permissive
- ubuntu stonking: photopc 3.07-4 Β· permissive
- Copyright (c) 1997-1999 Eugene G. Crosser
- Copyright (c) 1998,1999 Bruce D. Lightner (DOS/Windows support)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms