I tested this out on 10.4. I assume it still works.
You can use the ditto command to copy over a whole folder.
You could try getting into the Unix command line interface and copy some files or directories. You can copy files on the Unix command line interface if you placed the flash drive the USB port before powering on your machine.
0) you best have the flash drive formatted for the Mac before using. See disk utility. It's on the pull down.
1) You can copy files on the Unix command line interface if you placed the flash drive in a USB port before powering on your machine.
2) Boot up in single user mode
You should verify that the files have been copied correctly by trying them in another Mac before it the deleting the original.
Here is an overview of the commands. Lets assume that the problem account has a short user name of mac.
This isn't the best example. I'd copying my applescript app which I've placed in my applications folder.
To find your home folder. look for
/Users/<your user short name>
mine is mac so I do:
cd /Users/mac
#Copy directory "/Applications/Applescript files" to
# directory "/Volumes/Spotless/Applescript files".
# "Spotless" is my flash drive.
# notice you need to escape a blank with \ blank.
ditto -X -rsrc /Applications/Applescript\ files /Volumes/Spotless/Applescript\ files
#cd is change directory
cd /Volumes/COPYIT/answers/
# pwd is print working directory
pwd
#the ls command is for list
# l is long
# a to show hidden files. not shown in this example.
# F is type of file where / is directory
sh-2.05b# # Please note ls is the list command. l is a lower case L
sh-2.05b# ls -lF
Here is what these commands mean:
cd is change directory
pwd is a print working directory
ls is list
sudo is Super user do
# The sudo command will ask for your administration password. No characters will appear when typing your password. Press return when done typing.
cp is copy
copy a file example:
sh-2.05b#
sh-2.05b# cd /Volumes/Macintosh-HD/Users/mac/desktop
sh-2.05b# pwd
/Volumes/Macintosh-HD/Users/mac/desktop
sh-2.05b# cp -i answers.txt /Volumes/SpotMore
Will copy the file answers.txt in the directory SpotMore.
- Some files have a space in the name. You need to escape. see example:
mac $ ls -l ~/"see it"
-rw-r--r-- 1 mac staff 3171 Oct 26 23:38 /Users/mac/see it
mac $
mac $ cd /Users/mac/Desktop/ttt\ html\ copy/
- Do you know about tabing? Type in a few letters of a name then press the tab key. The computer will type out the rest of the name if it is unique.
- The up arrow key will retrive the previous command. You the left arror and right arror keys to move around. Use the delete key to delete a character to the left.
*More examples and moving around*
sh-2.05b# pwd
/
sh-2.05b# ls /Volumes
.Trashes Classic Macintosh-HD
._.Trashes Mac OS X Install DVD SpotMore
sh-2.05b#
sh-2.05b# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/disk4s3 2.6G 2.5G 89M 97% /
devfs 121K 121K 0B 100% /dev
fdesc 1.0K 1.0K 0B 100% /dev
<volfs> 512K 512K 0B 100% /.vol
/dev/disk5 467K 9.0K 435K 2% /Volumes
/dev/disk6 95K 64K 27K 70% /private/var/tmp
/dev/disk7 95K 14K 77K 15% /private/var/run
/dev/disk3s1 3.7G 1.3G 2.5G 34% /Volumes/SpotMore
/dev/disk0s10 1.1G 1.1G 3.4M 100% /Volumes/Classic
/dev/disk0s12 70G 45G 25G 65% /Volumes/Macintosh-HD
sh-2.05b#
sh-2.05b# cd /Volumes/SpotMore/
sh-2.05b# pwd
/Volumes/SpotMore
sh-2.05b# # Please note ls is the list command. l is a lower case L
sh-2.05b# ls -l
total 880
-rw-r--r-- 1 unknown unknown 6148 Sep 10 2010 .DS_Store
drw------- 4 unknown unknown 136 Aug 25 2010 .Spotlight-V100
drwxrwxrwt 3 unknown unknown 102 Sep 3 2010 .TemporaryItems
d-wx-wx-wt 3 unknown unknown 102 Sep 10 2010 .Trashes
drwx------ 3 unknown unknown 102 Sep 3 2010 Desktop
-rw-r--r-- 1 unknown unknown 18944 Aug 27 2010 Desktop DB
-rw-r--r-- 1 unknown unknown 2 Jul 29 2010 Desktop DF
-rwxrwxrwx 1 unknown unknown 26281 Oct 27 2009 Warranty Information.PDF
drwxr-xr-x 13 unknown unknown 442 Aug 4 2010 backup
drwxr-xr-x 13 unknown unknown 442 Aug 4 2010 backupPrior
drwxr-xr-x 7 unknown unknown 238 Aug 27 2010 cons
drwxr-xr-x 65 unknown unknown 2210 Sep 4 2010 iMac-back
... clipped ...
sh-2.05b#
sh-2.05b# cd /Volumes/Macintosh-HD/Users/mac/desktop
sh-2.05b# pwd
/Volumes/Macintosh-HD/Users/mac/desktop
sh-2.05b# # Please note ls is the list command. l is a lower case L
sh-2.05b# ls
Z2300 iMac
.DS_Store move
.FBCIndex new Belward
.FBCLockFolder primary-comments-new copy.doc
Consolidate-rc primary-comments-new.doc
Downloads psc 1200
... clipped ...
sh-2.05b# ditto -X -rsrc iMac /Volumes/SpotMore/iMac-back
sh-2.05b#
sh-2.05b# # Please note ls is the list command. l is a lower case L
sh-2.05b# ls -h /Volumes/SpotMore/iMac-back/
total 2800
-rw-r--r-- 1 unknown unknown 24K Sep 12 2010 .DS_Store
-rw-r--r-- 1 unknown unknown 2K Apr 18 2010 Differentiate Between Models .html
... clipped ...
sh-2.05b# pwd
/Volumes/Macintosh-HD/Users/mac/desktop
sh-2.05b# ls
Z2300 iMac
.DS_Store move
.FBCIndex new Belward
.FBCLockFolder primary-comments-new copy.doc
... clipped ...
sh-2.05b#
-------------- more of an explanation -----------------
Unix Navigation Commands