John wrote:
I was also getting a "The syntax of the command is incorrect." error, and the issue was that I had copied and pasted the command from the article and then edited the destination path. The problem with doing that turned out to be (for me at least) that the curly quotes are copied over but displayed like straight quotes, so it's not obvious that the "underlying" character is not a normal straight quote. I fixed the problem by leaving everything intact from the pasted command in the article except that I deleted each of the four quotes from the pasted version and typed those characters in the command shell.
[[Or, rather, you could see this in the attached screenshot except that apparently new users are not allowed to upload images.] You can see this from the attached screenshot - the first of the three attempts is the pasted version, while the third is the same but with the quotes deleted and typed - but both versions look identical! (The second shown was an attempt to do it without the full path, since I was in the right directory, but had the same problem due to the "hidden" curly quotes in the destination.)]
Note to author: updating the article to use straight quotes would prevent this problem from happening for future users. That said, thank you so much for this solution - great tidbit learned! (Just as I'm considering switching over to OSX. Sigh.)
-- John