Skip to main content

Command Palette

Search for a command to run...

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

Updated
1 min read

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

More from this blog

Mensah David Assigbi's personal IT blog

28 posts