Send to a Friend

klaas4's avatar

What's the best way to copy most files from hfsplus to ext4 volume via terminal?

Asked by klaas4 (2189points) March 7th, 2012

Hi!

I’ve recently set up a headless Ubuntu server. I’ve learned quite a lot about working with the terminal, but I’m struggling to find the best way to do the following.

I’ve got two external hard drives which are connected to the server. One is an HFS+ drive, the other I’ve formatted as ext4. The first drive is a downloads drive, on which some files are corrupted. I don’t particularly care for the corrupted files, but I need to copy the files which can be read, from the hfs drive to the ext4 drive.

In other words, I need the copier to ignore errors. Also I’d like to log the files that could not be copied to a file, if possible.

What’s the best command to use? I read about and tried rsync, but it have errors as well and I don’t know if it successfully copied the other files.

Thanks in advance for replies.

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.