Question to -i SYMLINKS on Windows

Started by herb, March 30, 2025, 06:00:20 AM

Previous topic - Next topic

herb

Hello Phil,

I have a question to -i SYMLINKS on Windows (in my case Windows 10).

In help I found infos that it should only work for directories.
For file-symlinks something like: -if '$FileAttributes !~ ... should be used.


For test purposes I have created such a directory-symlink with mklink /d ...
But I have seen that -i SYMLINKS (in combination with -r) does not work.
Exiftool follows the links and changes files in "destination folder" of the symlink.

As I have found no detailed information about -i SYMLINKS for Windows I ask this question:
Is it an error or is it not supported on Windows.
If it is not supported
- this should be noticed in help.
- is there another possibility to reach the goal.

Thanks for your help in advance
Best regards
herb

Phil Harvey

Hi Herb,

Thanks for this report.

I'll test this in Windows when I get a chance.

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