3 ms·
Wat? `open -a NameOfAppYouWantToUse fileyouWantToOpen.foo` will reliably open a file with whichever app you want. Just `open path/to/directory` will open a Fin
by jitl 4y ago
Wat?
`open -a NameOfAppYouWantToUse fileyouWantToOpen.foo` will reliably open a file with whichever app you want. Just `open path/to/directory` will open a Finder window to that directory. The file open dialog in macOS also exists and works just fine. You can drag file icons from GUI apps into terminal windows to insert their absolute path. You can drag files from Finder onto an app icon to open-with that app.
Transitioning between terminal workflow and GUI workflow feels better to me on macOS than either Linux or Windows; although with Listary Windows is decent.