Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Select files in Finder from Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Select files in Finder from Terminal
Authored by: rwmitchell on May 24, '06 01:32:16PM

For the tcsh, I created an alias:

alias sf 'osascript ~/bin/selectfinder.scpt Current_path:`pwd` $*'

which seems to work for me. (note that my alias has the path to the script hardcode, so adjust that for your environment)

to the person wondering why you'd want to do this instead of just using the finder, there are some situations where it is easier to wildcard a selection than it is select in the finder. A case where the middle of the filename has some uniq attribute that you want to select for. To the rest of us command line unix diehards, it just feels more natural :-)

[ Reply to This | # ]