Can I set a timeout for copying files in Ubuntu?

coinich

I'm still learning ubuntu. I'm attempting to pull some data from a HDD in Ubuntu 14.xx. Currently it says I have 8,011 hours left to pull ~150GB via USB. To speed this up, is there any way to set a timeout option with the copy function to allow it to skip corrupted files after a set length of time, forcing it to continue? Is there a better way of doing this?

Karan

For copying data off a failing drive I highly recommend ddrescue.

As the manual states you can rescue the most important part of the drive first:

ddrescue -i0 -s50MiB /dev/hdc hdimage logfile
ddrescue -i0 -s1MiB -d -r3 /dev/hdc hdimage logfile

Then rescue some key drive areas:

ddrescue -i30GiB -s10GiB /dev/hdc hdimage logfile
ddrescue -i230GiB -s5GiB /dev/hdc hdimage logfile

Finally rescue the rest (does not recopy what is already done):

ddrescue /dev/hdc hdimage logfile
ddrescue -d -r3 /dev/hdc hdimage logfile

You can add the -T <interval> or --timeout=<interval> option if you want.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

jQuery Can not set timeout

分類Dev

How can I set statement_timeout for an individual migration?

分類Dev

how can I set a timeout to a block in a test (junit)?

分類Dev

How can I install libpcap header files on Ubuntu 12.04?

分類Dev

Why can't I set the default Ruby version in Ubuntu?

分類Dev

How to backup all the files that I'm copying before being overwritten?

分類Dev

Accidentally set GRUB_TIMEOUT=0, cannot boot into Ubuntu now

分類Dev

Can I move a function in C by copying the data a function pointer points to?

分類Dev

gitlab-runner locally, can you set timeout?

分類Dev

MSBuild not copying files with PublishProfile

分類Dev

copying files with gulp

分類Dev

How can I change both names and file types of multiple files at once on Ubuntu 14.04?

分類Dev

How can i make infinite loop with timeout function

分類Dev

Can I plug a Ubuntu Laptop into a Ubuntu Laptop?

分類Dev

Copying Thousands of Files on the same HD

分類Dev

Files get bigger while copying

分類Dev

Windows explorer crashes on copying files

分類Dev

How can I make a shell script to grep over a set of log files counting how many lines match a keyword over dates?

分類Dev

I set the timeout on the socket, and I found that this value cannot be greater than 21

分類Dev

Can I foreach over an array of structs without copying the elements in C# 8?

分類Dev

Can I combine non-adjacent dimensions in a NumPy array without copying data?

分類Dev

How can I add metadata to resx files

分類Dev

Can I use "git checkout --" on two files?

分類Dev

How can I list files with find and Perl?

分類Dev

How can i serve static files in django?

分類Dev

Can I delete files on form close?

分類Dev

Can I safely delete "VirtualBox Dropped Files"?

分類Dev

How can I prevent automerge on specific files

分類Dev

Jekyll: Can I combine collections and data files?

Related 関連記事

  1. 1

    jQuery Can not set timeout

  2. 2

    How can I set statement_timeout for an individual migration?

  3. 3

    how can I set a timeout to a block in a test (junit)?

  4. 4

    How can I install libpcap header files on Ubuntu 12.04?

  5. 5

    Why can't I set the default Ruby version in Ubuntu?

  6. 6

    How to backup all the files that I'm copying before being overwritten?

  7. 7

    Accidentally set GRUB_TIMEOUT=0, cannot boot into Ubuntu now

  8. 8

    Can I move a function in C by copying the data a function pointer points to?

  9. 9

    gitlab-runner locally, can you set timeout?

  10. 10

    MSBuild not copying files with PublishProfile

  11. 11

    copying files with gulp

  12. 12

    How can I change both names and file types of multiple files at once on Ubuntu 14.04?

  13. 13

    How can i make infinite loop with timeout function

  14. 14

    Can I plug a Ubuntu Laptop into a Ubuntu Laptop?

  15. 15

    Copying Thousands of Files on the same HD

  16. 16

    Files get bigger while copying

  17. 17

    Windows explorer crashes on copying files

  18. 18

    How can I make a shell script to grep over a set of log files counting how many lines match a keyword over dates?

  19. 19

    I set the timeout on the socket, and I found that this value cannot be greater than 21

  20. 20

    Can I foreach over an array of structs without copying the elements in C# 8?

  21. 21

    Can I combine non-adjacent dimensions in a NumPy array without copying data?

  22. 22

    How can I add metadata to resx files

  23. 23

    Can I use "git checkout --" on two files?

  24. 24

    How can I list files with find and Perl?

  25. 25

    How can i serve static files in django?

  26. 26

    Can I delete files on form close?

  27. 27

    Can I safely delete "VirtualBox Dropped Files"?

  28. 28

    How can I prevent automerge on specific files

  29. 29

    Jekyll: Can I combine collections and data files?

ホットタグ

アーカイブ