Terminal, get to scratch disk?

Discussion in 'macOS' started by P-Worm, Mar 21, 2007.

  1. P-Worm macrumors 68020

    P-Worm

    Joined:
    Jul 16, 2002
    Location:
    Salt Lake City, UT
    #1
    Okay, this is an easy question for many of you I'm sure, but I can't figure it out for the life of me. I have a scratch disk I use for Final Cut Pro and I want to navigate to it in the terminal. I started in my home folder (default) and moved back to my main boot drive by usind "cd .." multiple times. It wouldn't let me go one more level to switch disks. When I type in "cd Scratch" it says no file or directory found. What command do I use to navigate there?

    P-Worm
     
  2. P-Worm thread starter macrumors 68020

    P-Worm

    Joined:
    Jul 16, 2002
    Location:
    Salt Lake City, UT
    #3
    That did it. Thanks. Also, what do you do about directories with spaces? For example, "cd My Folder" won't work.

    P-Worm
     
  3. SilentPanda Moderator emeritus

    SilentPanda

    Joined:
    Oct 8, 2002
    Location:
    The Bamboo Forest
    #4
    Terminal Hint:

    Type "cd".

    Drag the directory you want to go to from the Finder to the Terminal.

    Press Enter.

    I believe My Folder would be My\ Folder or My \Folder or something like that. If you type M then you can press [tab] to auto-complete some.
     
  4. miniConvert macrumors 68040

    miniConvert

    Joined:
    Mar 4, 2006
    Location:
    Kent, UK - the 'Garden of England'.
    #5
    That'd be cd My\ Folder
     
  5. P-Worm thread starter macrumors 68020

    P-Worm

    Joined:
    Jul 16, 2002
    Location:
    Salt Lake City, UT
    #6
    Whoa, now that is cool. Thanks. :cool:

    P-Worm
     

Share This Page