Oh dear :o) If only I had read the 'cp' man-page more thoroughly.
But ok, I've added a new option to my program which replaces the input-file.
So now you can do something like:
find / -type f -print | xargs -n 1 phantom -r -i
This is als probably possible with some scripting, I guess.
Do you realise that GNU cp --sparse=always will do pretty
much the same thing, on a copy albeit? Of course your utility might have the advantage of running where GNU utilities may not.
An open, cross-platform journaling program.
A scientific plotting package.