On Mar 9, 2005, at 11:45 PM, Troy and Brian wrote:

I went to that site, and it talks about moving to another partition instead of another hard drive, but I thought I would try it as suggested. After entering the following command: sudo ditto -rsrcFork /Users /Volumes/Hard Drive/Users where Hard Drive is the name of the new hard drive (I know, I am original), the hard drive grunted and whined away, but the Terminal never has returned the prompt after 19 hours and the drive every once and a while accesses a small amount but that is it.


If that command is accurate as you entered it, you just copied your /Users directory into another directory on the *same* drive called /Volumes/Hard and likely ran yourself out of drive space.


Type control-C in the terminal window to kill that command, and I'll wager that doing

ls -l /Volumes shows something like: (this is mine, yours will be different)

drwxrwxrwx   1 johnson  admin     4096 23 Feb 09:37 BOOMLET
lrwxr-xr-x   1 root     admin        1  8 Mar 11:04 BigWerx -> /
drwxr-xr-x  84 johnson  unknown   2856  9 Mar 16:20 PocketRocket
drwxrwxr-x  25 root     admin      850  9 Mar 16:20 Userland
drwx------   1 johnson  admin    16384  4 Mar 17:34 prodoracle
drwx------   1 johnson  admin    16384 19 Jan 14:49 workgroups
drwx------   1 johnson  admin    16384 25 Feb 13:32 www

Where the one that shows a name and -> is your boot drive, and there will entries like this:

drwxr-xr-x n user group size date Hard Drive
drwxr-xr-x n user group size date Hard

You cannot use spaces in terminal commands without taking care to tell the system that the space is part of the file name, or else the shell thinks that it is different arguments to the command

what your command actually did:

sudo ditto -rsrcFork /Users /Volumes/Hard


To do it the way you intended you need to do either:

ditto -rsrcFork /Users /Volumes/Hard\ Drive/Users

(Note the \ which is an escape character, meaning, what follows is not a part of the command, but a part of the file or path identifier)

Or

ditto -rsrcFork /Users "/Volumes/Hard Drive/Users"

Because the shell treats anything in " marks as a single string.

Since all Ditto does is *copy* the files, you can delete the /Volumes/Hard directory by doing:

sudo rm -rf /Volumes/Hard

EXACTLY!!!

rm -rf is a dangerous command, coupled with sudo it is THE most dangerous command in unix.

Misused it will gleefully eat your whole hard drive. I've seen it, it isn't pretty.

Then do the ditto command correctly, it should go just fine.

Now, if you DID enter the ditto command correctly, then there's an issue with either your old hard drive or the new one that's causing it to take so long.

--
Bruce Johnson
University of Arizona
College of Pha rmacy
Information Technology Group

Institutions do not have opinions, merely customs


-- G-List is sponsored by <http://lowendmac.com/> and...

Small Dog Electronics    http://www.smalldog.com | Refurbished Drives |
-- We have Apple Refurbished Monitors in stock!  |  & CDRWs on Sale!  |

     Support Low End Mac <http://lowendmac.com/lists/support.html>

G-List list info:       <http://lowendmac.com/lists/g-list.shtml>
 --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[email protected]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-list%40mail.maclaunch.com/>

iPod Accessories for Less
at 1-800-iPOD.COM
Fast Delivery, Low Price, Good Deal
www.1800ipod.com

Reply via email to