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


Click here to return to the 'This command, among others' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
This command, among others
Authored by: GraphicFoxx on Jan 12, '02 12:45:48PM

Hey all, I've tried this, and I get an error. This is what I get...

OK? default write com.apple.iPhoto RootDirectory /Volumes/VM_Disk/iPhoto Library? yes
default: Too many arguments

I've tried another method, which says to do...

In -s/Volumes/VM_Disk/Pictures Pictures

This is the error I get with this one...

OK? ln -s/Volumes/VM_Disk/Pictures Pictures? yes
ln: illegal option -- /
Usage: ln [-fhns] file1 file2
ln [-fhns] file ... directory

So how the heck do I get this to work?
Thanks



[ Reply to This | # ]
This command, among others
Authored by: autohag on Jan 13, '02 12:00:09AM

Use defaults, not default. And make sure that your destination directory already exists (eg. iPhoto Library).



[ Reply to This | # ]
This command, among others
Authored by: GraphicFoxx on Jan 13, '02 12:03:51PM

I do type defaults, but ends up in the error just saying default. But I'll try these new suggestions.



[ Reply to This | # ]
This command, among others
Authored by: nagani on Jan 13, '02 10:37:59AM
The problem may be the space in your destination path. Here are a few solutions:
  • use quotes for the path string
  • type a backslash in front of the space
  • drag the destination folder from the Finder to the terminal window
    Good luck!

    [ Reply to This | # ]
  • This command, among others
    Authored by: GraphicFoxx on Jan 13, '02 12:13:40PM

    Ok, tried a combo of both your suggestions. I also changed the name of my target drive to remove a space, just calling it Data. So here's what I typed (up to RootDirectory, then dragged [drug?] my destination folder), and the resulting error, which is the same as what I got before.

    [localhost:~] graphic% defaults write com.apple.iPhoto RootDirectory /Volumes/Data/iPhoto Library

    OK? default write com.apple.iPhoto RootDirectory /Volumes/Data/iPhoto Library ? yes
    default: Too many arguments.

    Notice how I typed defaults, but when it asks for confirmation, it gets changed to default. Is that my problem? and if so, how do I change it?



    [ Reply to This | # ]
    I get the _exact_ same problem
    Authored by: LairBob on Apr 27, '02 09:09:38AM

    When I try to issue the command line using "defaults" (with an 's'), the confirmation prompt comes back using "default" (with no 's'), and then I'm told I have too many parameters.

    GraphicFoxx, it's been a couple of months since you posted this--did you ever find out a solution?



    [ Reply to This | # ]
    This command, among others
    Authored by: dittrich on Jan 14, '02 04:25:24PM

    When using

    ln -s

    you need a space after the -s. It doesn't look like you have one there....

    Matt



    [ Reply to This | # ]