Skip to main content

How to copy a sparse file in over the network from linux

Published 1 min readMarkdown

Simply $ rsync -aS <source> <destination> for rsync you need to have rsync on both machines

$ scp source destination [--sparse=always] @destination $ fallocate -d filename_on_destination_server

can also use dd to convert into or create sparse files

Resources:

  • https://serverfault.com/questions/665335/what-is-fastest-way-to-copy-a-sparse-file-what-method-results-in-the-smallest-f

No comments yet. Be the first to comment.

More from this blog