Copying Sparse files?

Cameron Simpson cs at zip.com.au
Fri Jun 23 01:46:29 UTC 2006


On 23Jun2006 09:20, Ed Greshko <Ed.Greshko at greshko.com> wrote:
| Reg Clemens wrote:
| > I need to copy a sparse file from one partition to another.
[...]
| Just wondering if you've tried the various --sparse options of cp?

rsync also has a --sparse option to preserve sparse files.

rsync -aP --sparse local-file remote-host:remote-file

Better test it!
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

If your new theorem can be stated with great simplicity, then there
will exist a pathological exception.    - Adrian Mathesis




More information about the fedora-list mailing list