photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Carlo Didier on May 19, 2024, 10:42:46 AM

Title: See buddy files for an image
Post by: Carlo Didier on May 19, 2024, 10:42:46 AM
How can I check which files are buddy files of a specific image file?
I can see the versions, but not buddy files. That would be as a filename list of course, as most buddy files are not images.
Title: Re: See buddy files for an image
Post by: Mario on May 19, 2024, 12:43:02 PM
File.BuddyFiles (https://www.photools.com/help/imatch/var_basics.htm?dl=h-96)

(Note: If your buddies are on a slow share, this can be slow).
Title: Re: See buddy files for an image
Post by: Carlo Didier on May 19, 2024, 09:52:47 PM
That's it! Now I just have to figure out how to get each file name on a seperate line to make the output readable. I think I can do that.
Title: Re: See buddy files for an image
Post by: Carlo Didier on May 19, 2024, 10:01:53 PM
Got it:
{File.BuddyFiles|splicelist:~;,,{cr}{lf}}
Title: Re: See buddy files for an image
Post by: Mario on May 20, 2024, 11:42:24 AM
Or: ... |replace:~;=={crlf}}