X
X
xxx44yyy2019-08-19 21:29:18
linux
xxx44yyy, 2019-08-19 21:29:18

What utility can transfer files skipping broken files?

The main machine is Mac OS. On an external SSD drive, too, Mac OS, but with a bunch of broken files. I'm trying to transfer content from an external drive to a separate directory on the local. But there is no toolkit, so the situation is wild:

  1. I go through the terminal to the folder /Volumes/external_ssd/Users/vasya/Desktop
  2. trying to copy each directory via cp
  3. if the process hangs, then ps -es | grep cp, and thenkill -9
  4. again I climb into the same folder that I wanted to copy, and I try to transfer one file in it. This is how I find the broken file and skip it

More or less like this. But as you can imagine, this is a bit annoying. Is there any way to make this easier? The problem, in fact, is that when using the basic copying tools (I tried using mc, cp, rsync, etc.), the process can hang and the corrupted file can neither be skipped nor deleted.
PS I heard that there are tools for Windows, but alas, Windows is not around and I won’t be able to find it somewhere in the next week.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2019-08-19
@sim3x

https://superuser.com/questions/347916/rescuing-a-...
gddrescue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question