How to tell FFS to copy sparse files as sparse files?

Get help for specific problems
Posts: 2
Joined: 11 Nov 2021

pstein

Assume I have a sub directory tree with lots of files.
Some of them are sparse files which are (only) partially filled.

Now I want to copy this whole sub directory tree to another (NTFS) partition.

Unfortunately the sparse files are NOT copied as sparse files but blown up to their final size.

How can I tell FFS to automatically detect sparse files an to copy them as sparse files?

Other files should be "normally" copied

Peter
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

If both source and target are NTFS, FFS copies as sparse by default.
Posts: 1202
Joined: 8 May 2006

therube

Unfortunately the sparse files are NOT copied as sparse files but blown up to their final size.
By that do you mean the "Size on disk:" shows as the full file size (rather then some portion thereof)?

On my end, I created a sparce.
Sync'd to another directory with FFS & the copy was copied as a sparce.

I then copied the same file using COPY (which will not preserve sparceness) & that show that the file is in fact using its full allotted size.

.
sparce file vs COPY of sparce file.png
sparce file vs COPY of sparce file.png (21.65 KiB) Viewed 408 times
And don't ask me about that 1 byte ;-)?