With Google File Stream, you can right-click on a given file/directory in Finder and click "copy link to clipboard" from the contextual menu. Is it possible to recreate this programmatically, given the file's path?
My end goal is to create an Alfred workflow, so solutions involving bash/zsh, applescript, or python would all work.
I'm imagining something that looks kind of like filename | getfilepath
...