mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
5c869eee44
sparse files). PR: ports/92156 Submitted by: Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
16 lines
509 B
Plaintext
16 lines
509 B
Plaintext
This tool removes blocks of 0x00 from files by replacing them with
|
|
phantomblocks. That way, a file uses less diskspace while its contents
|
|
hasn't changed at all!
|
|
|
|
BEWARE: after copying these files with tar, cp, cpio or any other tool,
|
|
the phantomblocks have been replaced with 0x00-blocks again!
|
|
|
|
EXAMPLE:
|
|
|
|
find / -type f -print | xargs -n 1 phantom -r -i
|
|
|
|
This would go trough the whole harddisk, scan all files and generate
|
|
0x00-blocks where necessary.
|
|
|
|
WWW: http://www.vanheusden.com/Linux/phantom.php
|