Skip navigation

New SL install on SSD; moving user files over

10491 Views 29 Replies Latest reply: Apr 18, 2013 2:14 PM by Wahid Kabir RSS
  • Thomas Brierley Level 3 Level 3 (540 points)
    Currently Being Moderated
    Jan 27, 2011 12:00 PM (in response to Michael Winner)
    Michael Winner wrote:
    Okay...another. I attempted to delete the Pictures folder from with my user directory on the SSD, but OS X says I can't (was planning on putting in a symbolic link to the existing Pictures folder on the SSD). Do I need to work around this by leaving the Pictures folder on the SSD, and renaming the folder on the HDD to "PicturesHDD" and then creating a symbolic link to that folder on the SSD? Or can I actually delete the Pictures folder from the SSD? Thx


    Not sure why OS X is protecting it... but you can delete it.

    put this in your terminal then drag and drop the pictures folder to the terminal and hit return and enter your admin password (note the space after -R):

    sudo rm -R 


    make sure you get the correct directory because this will immediately delete it rather than trash it.
    Other OS
  • jsd2 Level 5 Level 5 (6,200 points)
    Currently Being Moderated
    Jan 27, 2011 12:24 PM (in response to Thomas Brierley)
    Thomas,

    The system won't let you trash the main user subfolders because they carry an "everyone deny delete" ACL. I created a test account, and on trying to delete ~/Pictures, saw:
    !http://i52.tinypic.com/x0qmgg.jpg!

    In Terminal:
    --------------------------------------------
    2010-Computer:~ t1$ ls -le ~
    total 0
    drwx------+ 5 t1 staff 170 Jan 26 20:35 Desktop
    0: group:everyone deny delete
    drwx------+ 4 t1 staff 136 Jan 26 20:34 Documents
    0: group:everyone deny delete
    drwx------+ 4 t1 staff 136 Jan 26 20:34 Downloads
    0: group:everyone deny delete
    drwx------+ 27 t1 staff 918 Jan 26 20:34 Library
    0: group:everyone deny delete
    drwx------+ 3 t1 staff 102 Jan 26 20:34 Movies
    0: group:everyone deny delete
    drwx------+ 3 t1 staff 102 Jan 26 20:34 Music
    0: group:everyone deny delete
    drwx------+ 4 t1 staff 136 Jan 26 20:34 Pictures
    0: group:everyone deny delete
    drwxr-xr-x+ 5 t1 staff 170 Jan 26 20:34 Public
    0: group:everyone deny delete
    drwxr-xr-x+ 5 t1 staff 170 Jan 26 20:34 Sites
    0: group:everyone deny delete
    -----------------------------------

    If I first removed the ACLs I could then trash them normally. I used this command:

    chmod -N ~/*


    --------------------------
    2010-Computer:~ t1$ chmod -N ~/*

    2010-Computer:~ t1$ ls -le ~
    total 0
    drwx------ 5 t1 staff 170 Jan 26 20:35 Desktop
    drwx------ 4 t1 staff 136 Jan 26 20:34 Documents
    drwx------ 4 t1 staff 136 Jan 26 20:34 Downloads
    drwx------ 27 t1 staff 918 Jan 26 20:34 Library
    drwx------ 3 t1 staff 102 Jan 26 20:34 Movies
    drwx------ 3 t1 staff 102 Jan 26 20:34 Music
    drwx------ 4 t1 staff 136 Jan 26 20:34 Pictures
    drwxr-xr-x 5 t1 staff 170 Jan 26 20:34 Public
    drwxr-xr-x 5 t1 staff 170 Jan 26 20:34 Sites
    ---------------------------------------------
    Mac Mini, Mac OS X (10.6.6)
  • Thomas Brierley Level 3 Level 3 (540 points)
    Currently Being Moderated
    Jan 27, 2011 12:36 PM (in response to jsd2)
    Thanks jsd2

    I forgot about ACL permissions... I guess i hadn't come across that problem myself because in the past i've modified user subdirectories offline running from a separate OS.
    Other OS
  • Thomas Brierley Level 3 Level 3 (540 points)
    Currently Being Moderated
    Jan 27, 2011 1:16 PM (in response to Michael Winner)
    as jsd2 posted: this bit

    chmod -N ~/*


    the
    ~
    part is a link to whatever is the current running users directory is, and the asterix * applies the command to all files/directories within that directory...

    Sorry i like to explain

    so just to clarify (and incase you are not running from the user directory you wish to modify, you could also do:

    chmod -N /Volumes/SSD/Users/Michael/*


    or even just:

    chmod -N /Volumes/SSD/Users/Michael/Pictures


    then delete what you want in that user directory from finder
    Other OS
  • Thomas Brierley Level 3 Level 3 (540 points)
    Currently Being Moderated
    Jan 27, 2011 2:20 PM (in response to Michael Winner)
    yup

    that's my shortest post yet !
    Other OS
  • Thomas Brierley Level 3 Level 3 (540 points)
    Glad you got it all set up.

    RE the get info dialogue describing symbolic links as aliases... i found out that you create aliases from the cli with a separate tool called SetFile this is also used to set various other HFS only attributes such as the invisible bit, locked files etc ...

    Anyway enjoy your SSD... you get used to the speed pretty quickly .. then you're only burdened by impatience as soon as you go to use any other machine running an OS on a HDD
    Other OS
  • Snetiger Calculating status...

    I tried this several times now. I can delete the documents folder but it recreates itself whenever I open a save dialogue. Do you have any idea why?

  • Bavich Calculating status...

    Hi Thomas,

    "Now move the "Music" directory from the SSD's "/Users/Michael" directory into the HDD's "/Users/Michael" directory (you might need to copy then delete the original)."

     

    I cannot delete the original, how can I do it?

    "“Movies” can’t be modified or deleted because it’s required by Mac OS X."

     

    Thank you

  • goldyn chyld Level 1 Level 1 (0 points)

    Hello Thomas,

     

    I'm trying to configure my new SSD+HDD(Optibay) and have stumbled upon this thread - seems like you have provided a lot of useful info.

     

    Could you please tell me how does what you wrote on the previos page differ from what the guy on the following website wrote? --- http://www.markc.me.uk/MarkC/Blog/Entries/2009/12/15_Redirecting_folders_on_Appl e_OSX.html

     

    I would like to know why does one need to go through all these Terminal commands in order to create "aliases"? Could you not just create, say, a Downloads folder on the HDD in optibay, then copy all the Downloads data from SSD to the Downloads folder on HDD and then create an alias of it on the HDD - and finally move that alias to SSD?

  • iconoclastic Level 1 Level 1 (0 points)
    Currently Being Moderated
    Mar 15, 2013 11:06 AM (in response to Thomas Brierley)

    Many, many, many thanks, worked perfectly, is totaly elegant and simple.

     

    I had more than 1 week trying to solve this and your solution worked the very first time.

     

    Did I say thanks?

  • Wahid Kabir Calculating status...
    Currently Being Moderated
    Apr 18, 2013 2:14 PM (in response to Michael Winner)

    Old password reset & access for Mac position solution please help me this problem clear now.

1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (2)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.