My external HDD is not detected in Windows Editions. But it is working well in Ubuntu. The problem is, some of the tracks are damaged, so while browsing through the HDD, the 'Nautilus' stops working. I could not copy those files too. What is the command line arguments should I use to skip the damaged file and copy healthy files.
If you're unable to copy file by file, use
General usage is like this:
This will copy the entire partition
The second command will attempt to read from the bad blocks again and fill in the blanks.
Then you can mount the img file and do what you want with the files on them:
If you know the exact files/directories you want to copy, you could try to run this from the terminal: