Pseudo tag for full filename

Started by andrewj, November 21, 2013, 03:51:21 AM

Previous topic - Next topic

andrewj

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

Phil Harvey

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