ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: andrewj on November 21, 2013, 03:51:21 AM

Title: Pseudo tag for full filename
Post by: andrewj on November 21, 2013, 03:51:21 AM
Hi,
I'm trying to extract a list of files which meet certain criteria to drive another process. If I use -filename I just get the name, but I want the "full" name including path. Is there a pseudo-tag for this?
Thanks
Andrew
Title: Re: Pseudo tag for full filename
Post by: Phil Harvey on November 21, 2013, 07:51:31 AM
Hi Andrew,

Three ideas come to mind:

You could use -p "$directory/$filename".

Or when processing multiple files, the full path name is given at the start of each section of output.

Alternatively, you could create a user-defined Composite tag.

- Phil