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

Click here to return to the 'Control the Finder with the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Control the Finder with the Terminal
Authored by: dzurn on Dec 18, '12 10:29:18AM
I use ZSH, so your iTunes example would get reduced to this with the builtin zsh completions:

cd ~/M/i/i 
then hit {tab} and it expands to:
cd ~/Music/iTunes/iTunes\ Music/

Not to take anything away from your code, since I can see it being useful to have a Finder window "follow" the current directory. However there's times I use the Terminal to navigate to folders with thousands of files that otherwise woule take a looong time to show in the Finder.

Madness takes its toll.
Please have exact change.

[ Reply to This | # ]