I can execute VLC from the command line using a
.bash_profile alias but not using a sym link.
📝 VLC is located at
/Applications/VLC.app/Contents/MacOS/VLC on my machine
I tried two different sym links from my user's
ln -s /Applications/VLC.app/Contents/MacOS/VLC vlc
ln -s ../../../Applications/VLC.app/Contents/MacOS/VLC vlc
For both, the terminal simply outputs the VLC version and exits:
🈚️ ☞☞☞ vlc Peter\ Tosh\ -\ Stepping\ Razor-aLJFRgE4Ywk.mp3 VLC media player 3.0.3 Vetinari (revision 3.0.3-1-0-gc2bb759264) 🈚️ ☞☞☞
When I made an alias for VLC in my
things worked fine
🈚️ ☞☞☞ vlc Peter\ Tosh\ -\ Stepping\ Razor-aLJFRgE4Ywk.mp3 VLC media player 3.0.3 Vetinari (revision 3.0.3-1-0-gc2bb759264) [00007fe25051eaa0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
I can just continue to use the alias, but I'd like to understand why the sym links didn't work.
This answer discusses differences between symbolic links and aliases but doesn't seem to resolve my particular problem.