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


Click here to return to the 'Automatically cd to active Finder directory in new Terminal window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically cd to active Finder directory in new Terminal window
Authored by: highbulp on Sep 23, '11 11:40:55AM

Doesn't seem to work for directories with spaces in their name (e.g., "My Pictures"). Can you modify the script language to include appropriate quotes? I've been using a Finder service, but being able to cdf from the terminal would make my life much, much easier :)



[ Reply to This | # ]
Automatically cd to active Finder directory in new Terminal window
Authored by: mlm on Sep 27, '11 08:57:57AM
When getting a POSIX path to use in the context of a Unix command, it should be surrounded by quotes, which is accomplished as follows:
    get the quoted form of the POSIX path of ...


[ Reply to This | # ]