Bash Finder: Control the Finder from the Terminal
1–8 of 8 posts
Re: Bash Finder: Control the Finder from the Terminal
#2 mv .bash_profile ~/.bash_profile
No thanks, I have my own things in there.Re: Bash Finder: Control the Finder from the Terminal
#3Neat idea, but: mv .bash_profile ~/.bash_profile No thanks, I have my own things in there.
https://github.com/NapoleonWils0n/bashfinder/blob/master/.ba...
So you'd just want to rename this to something obvious like "osx-finder.bash" and source that file.
Re: Bash Finder: Control the Finder from the Terminal
#4 open .
The 'open' command has tons of uses (open a file with a specific application, reveal a file in Finder, open a URL in the user's browser, etc.) and I recommend reading its man page.Re: Bash Finder: Control the Finder from the Terminal
#5Neat idea, but: mv .bash_profile ~/.bash_profile No thanks, I have my own things in there.
I too am confused as to why the author has chosen to include their entire Bash configuration in this repository. As far as I can tell, this is the only interesting file: https://github.com/NapoleonWils0n/bashfinder/blob/master/.ba... So you'd just want to rename this to something obvious like "osx-finder.bash" and source that file.
Re: Bash Finder: Control the Finder from the Terminal
#6On a similar note, if you just want to open a new Finder window to the current working directory (instead of using an existing Finder window), just use open . The 'open' command has tons of uses (open a file with a specific application, reveal a file in Finder, open a URL in the user's browser, etc.) and I recommend reading its man page.
Re: Bash Finder: Control the Finder from the Terminal
#7On a similar note, if you just want to open a new Finder window to the current working directory (instead of using an existing Finder window), just use open . The 'open' command has tons of uses (open a file with a specific application, reveal a file in Finder, open a URL in the user's browser, etc.) and I recommend reading its man page.