Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open a directory on finder when a path is provided #43

Open
AhmedAredah opened this issue Nov 10, 2024 · 1 comment
Open

open a directory on finder when a path is provided #43

AhmedAredah opened this issue Nov 10, 2024 · 1 comment

Comments

@AhmedAredah
Copy link

AhmedAredah commented Nov 10, 2024

How can I open a finder window with an exact path as provided in the search bar? or if it is a file, open that file directly. Thanks

@vlermandac
Copy link
Contributor

I think you can do something similar as the last two lines of the 2nd usage example on the readme.

choose | xargs -I {} open "{}"

The 'open' command will use the default app you have to open any type of file (or use finder for directories).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants