Repair corrupt files

If you have a large file of multimedia data that got corrupt, it can be best to just skip the broken part. E.g. if you have a film /mnt/cdrom/myvacation where your diving experiences went into nirvana, and you cannot copy the file because it cannot be read completely, the following command will at least provide you with a non-corrupt file: dd conv=noerror if=/mnt/cdrom/myvacation of=~/myrepairedfilm ~/ myrepairedfilm then contains a copyable file.