Results 1 to 11 of 11
  1. #1


    Member Since
    Dec 13, 2011
    Posts
    6
    Smile change directory
    Hi,

    On terminal every i type in 'pwd' it displays the word dropbox before my user ID, is there anyway i can reverse this?

    Any help would be appreicated

    #completenovice

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Just to clarify, if I execute pwd in my home directory, I get what you'd expect: /Users/vansmith. Are you saying that you get something similar to the following: /Users/dropboxvansmith?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3


    Member Since
    Dec 13, 2011
    Posts
    6
    Yes I get /Users/jordanHarris/Dropbox, i attempted to link my documents with dropbox by typing in cd dropbox into terminal.

    I just want to revert back to how it was before i tampered with it

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    pwd is doing what it should - you're in your Dropbox folder. If you changed into the Dropbox folder, that would become your current working directory.

    I'm still unsure what you did. What do you mean by "linking" your documents with Dropbox?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5


    Member Since
    Dec 13, 2011
    Posts
    6
    This is the two lines i put into terminal in order to make dropbox my default documents folder:
    jordanHarris$ cd dropbox
    jc-mac-pro:dropbox jordanHarris$ -s~/Documents/ Documents
    -bash: -s~/Documents/: No such file or directory

  6. #6

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You're missing part of a command there. The -s at the beginning is called a parameter or a switch. Think of it as something that augments a command. With that said, my guess is that you meant to execute the following:
    Code:
    ln -s ~/Documents/ Documents
    Might I ask what it is that you're trying to accomplish?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  7. #7


    Member Since
    Dec 13, 2011
    Posts
    6
    I saw a youtube clip of how to make Dropbox your default document folder so i could have documents on multiple devices and they would sync automatically.

    That was the code that was displayed on the screen and I just copied it, pretty stupid thing to do.

  8. #8

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You'd have to delete your Documents folder and then symlink it to ~/Dropbox which I'd highly recommend against doing. Although possible, note that content you don't necessarily create may be stored in ~/Documents (using myself as an example, I have MS Office and Civ4 data stored there).

    Why not just save things to your Dropbox folder? Wouldn't that be much easier?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  9. #9


    Member Since
    Dec 13, 2011
    Posts
    6
    That's what i've began doing, makes sense.

    Just want to know whether i've done some irreparable damage or interfered with the settings that will affect the performance of the computer?

  10. #10

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by jch57 View Post
    That's what i've began doing, makes sense.

    Just want to know whether i've done some irreparable damage or interfered with the settings that will affect the performance of the computer?
    The commands you entered above are as follows (quoted for ease of explanation):
    Quote Originally Posted by jch57 View Post
    jordanHarris$ cd dropbox
    jc-mac-pro:dropbox jordanHarris$ -s~/Documents/ Documents
    -bash: -s~/Documents/: No such file or directory
    The first one (cd dropbox) simply changes the directory which is akin to opening a folder in Finder. The second command (-s~/Documents/ Documents) isn't actually a command so nothing happened.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  11. #11


    Member Since
    Dec 13, 2011
    Posts
    6
    That's put my mind at rest. Many thanks for your swift assistance, I won't be trying anything like that again without proper help.

    Thanks Again

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. User can't log into Mac after name change on Active Directory
    By JFDonnelly in forum OS X - Operating System
    Replies: 1
    Last Post: 10-04-2014, 04:35 PM
  2. Directory change when moving files
    By mmikolas in forum OS X - Operating System
    Replies: 4
    Last Post: 09-10-2012, 01:13 PM
  3. How to Change the mail App Directory?
    By Steven Lam in forum OS X - Apps and Games
    Replies: 1
    Last Post: 02-08-2012, 05:04 AM
  4. Change directory to flash drive
    By georgepag in forum OS X - Operating System
    Replies: 1
    Last Post: 10-24-2010, 10:04 PM
  5. Change the open directory in Word
    By mitchbvi in forum OS X - Apps and Games
    Replies: 0
    Last Post: 02-16-2010, 01:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •