ExifTool Forum

ExifTool => Newbies => Topic started by: Chris S on March 12, 2023, 12:11:53 PM

Title: Server Path
Post by: Chris S on March 12, 2023, 12:11:53 PM
Is there a way to return the full path/alias to a file if it's located on an smb server on MacOS?

This is what I'm starting with:
> exiftool -filepath [dir]
/Volumes/[ServerName]/[Folder]/[file]

If it's on an smb server, would like it to return: smb://[VolumeName]/[ServerName]/[Folder]/[file]
Title: Re: Server Path
Post by: Phil Harvey on March 12, 2023, 07:44:10 PM
ExifTool doesn't know any details about the filesystem itself.  Also, I wouldn't even know how to do this.

- Phil
Title: Re: Server Path
Post by: Chris S on March 13, 2023, 10:53:57 PM
OK, thank you. I know it can be done with a combination of AppleScript and Terminal commands. Will consult some folks that I know can do this and see if they can help me... I have that code, it's just a bit over my head.