| Apple Notebooks Apple's notebook computers including MacBook Pro, MacBook, MacBook Air, PowerBook, and iBook. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Aug 04, 2008
Posts: 71
![]() |
My harddrive is corrupt, and many files are corrupt. However, many are not, and I'd like to back up everything I can to an external. The external is also full of import files for work, so I can't wipe it or anything. I want to do this promptly in case the internal is on it's last leg.
If I try to copy files manually, every time it hits a corrupted file, I get error 36 and it stops copying the rest of the files. I don't know how to use scripts, and someone said Carbon Copy Cloner would do it, but I'm afraid of overwriting stuff that's on the other harddrive that might accidentally have the same name, or just in general. It won't let me specify to a folder. How can I copy these files, skipping the corrupt ones, before the harddrive craps completely? |
| QUOTE Thanks | |
|
Member Since: Nov 28, 2007
Location: Nambucca Heads Australia
Posts: 14,096
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: iMac i5 2.7GHz OS X.8.3
|
Hang on to those original install discs like grim death! Using OS X.7 or later make a bootable USB thumb drive before running Installer! |
||||
| QUOTE Thanks | |||||
![]() Member Since: Dec 09, 2010
Location: Virginia
Posts: 845
![]() ![]() ![]() ![]() ![]() Mac Specs: Currently 13" Late 2010 MBA, 4GB/128GB; Early 2011 13" MBP, dual core i7 2.7ghz, 4gb ram, 500gb hd
|
I'd use the command line to copy the files. It'll bypass the corrupt files and keep going until it's done.
A trick to terminal is to drag and drop your source and destination folders into the terminal window instead of trying to type in the entire path. The command would look something like sudo cp -Rf sourcefile/* destination Step by step, the command does the following: sudo - peform this command as though I was the root user cp - copy -Rf - copy recursively, i.e., get the top layer folder and all subfolders; force the copy to continue if an error is encountered sourcefile - the folder where your data is stored. /* - anything under sourcefile destination - the folder where the copy is going. So if you wanted to copy your entire home directory to your external, create a destination folder on your external drive (call it Backup or something), and, if your hard drive was "MacHD" and your home directory was named "Mydrive," the command would be: sudo cp -Rf /MacHD/Users/Mydrive/* /externaldrive/Backup/ |
| QUOTE Thanks | |
![]() Member Since: Sep 09, 2009
Location: Down Under :D
Posts: 5,484
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: Back to my old 2.2GHz C2D MB after selling my MBP and wondering what my next Mac will be :)
|
Quote:
You can really mess things up using terminal when you don't know what you are doing. What I would do is copy your essentials such as documents, photos, music, applications etc to an external HD. Otherwise, I would use time machine, but I would exclude the folders that you suspect have corrupt files. Then using disk utility, repair permissions and disk if necessary. If everything checks out you are good to go. If not, then you can perform a clean install, and if you used time machine, use migration assistant to restore what you want, and if you used the other method, drag the items back. |
|
| QUOTE Thanks | ||
![]() Member Since: Aug 04, 2008
Posts: 71
![]() |
Everything has corrupted files. Everywhere.
Any folder with more than 10 or 20 files in it (I have lots of images saved) has corrupt files. I'm not going to bother trying to save this harddrive. It's screwed. I can hear it clicking and catching. I'm just trying to save what I can prior to having it replaced tomorrow. But because it freaks out every time it tries to back up a corrupted file... |
| QUOTE Thanks | |
![]() Member Since: Sep 09, 2009
Location: Down Under :D
Posts: 5,484
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: Back to my old 2.2GHz C2D MB after selling my MBP and wondering what my next Mac will be :)
|
|
| QUOTE Thanks | |
![]() Member Since: Aug 04, 2008
Posts: 71
![]() |
Yes, you seem to be missing the point. Every time I drag and drop, it chokes on a corrupted file and stops transferring. I delete the corrupt file, and start over. It chokes on another. So, either I do this indefinitely for thousands of files, or I drag and drop a few files at a time, and when doing so with thousands of files in dozens of folders, it gets pretty old.
|
| QUOTE Thanks | |
![]() Member Since: Sep 09, 2009
Location: Down Under :D
Posts: 5,484
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: Back to my old 2.2GHz C2D MB after selling my MBP and wondering what my next Mac will be :)
|
Just out of curiosity, what is the external formatted to that you are trying to drag to?
I suspect that you will not be able to resolve this without an HFS+ formatted drive. Considering how cheap a new external is especially if you weigh against the time and inconvenience of losing your data. If it is FAT32 (MS-DOS), you may want to look at this. Solution to Finder “Error code -36″ in 10.6 when copying folders | MacYourself |
| QUOTE Thanks | |
![]() Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 21,826
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1
|
And if that link from 6string doesn't work for you, although that could well be your problem. Do you know if those files are really corrupted? As in you can't open them on your Mac or you're only having a problem copying them to the external drive?
If that is not your issue, will say that I'm no terminal guy either. But, you either keep doing it the way you are, or you read EvenStranger's post enough times until you understand and comprehend. It really is not that hard. We only make it hard. Using drag and drop method mentioned - here is baby steps laid out for you. Open a Finder Window and put it on one side of your screen. Open terminal and put it on the other side of your screen. In terminal - all on one line: type sudo press space bar type cp press space bar type -Rf press space bar drag the folder you want to copy into the terminal window and drop it you will notice this added a space at the end all on it's own, so press Delete one time to back up type /* press space bar drag the folder where you want to put all the copied stuff into terminal and drop it now look at it - does it match the line above except for having your folders listed there? - yes? press enter Don't do it, until you read the above post, so that you know what you're doing. I cannot be held responsible for the things that come out of my mouth. In the Windows world, most everything folks don't understand is called a virus. Place your vote for our Member of the Month Last edited by bobtomay; 02-02-2011 at 09:47 PM. |
| QUOTE Thanks | |
![]() Member Since: Sep 09, 2009
Location: Down Under :D
Posts: 5,484
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: Back to my old 2.2GHz C2D MB after selling my MBP and wondering what my next Mac will be :)
|
|
| QUOTE Thanks | |
![]() Member Since: Nov 29, 2011
Posts: 1
![]() |
This thread was quite helpful for me. After readind the manual for cp, (enter "man cp" in Terminal) I found another useful argument to add to cp, "-v" for verbose mode.
I you enter cp -Rfv [source]/* [destination]/ then cp will let you know what it's doing, A list of errors for files that didn't transfer can be found in the system log in the console app in Terminal |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Corrupted files on external HD | misterpouliot | Other Hardware and Peripherals | 1 | 05-24-2010 04:24 PM |
| Tranferring iPhone Backup Files to a New Computer? | yooooitsjenn | iPhone Hardware and Accessories | 0 | 01-18-2010 07:53 PM |
| MacBook and External NAS - Folder Cycles Through Files | spolebitski | OS X - Operating System | 0 | 02-08-2009 12:59 PM |
All times are GMT -4. The time now is 08:02 PM.
Powered by vBulletin