On Tuesday 16 December 2008, Miguel Ramos wrote: > Another argument in favour of cp in Linux: holes in sparse files are > kept correctly, whereas using tar they are not. > > It is curious that this is very OS dependent. > In FreeBSD, with cp, holes always go away, using tar, or better > dump/restore is a way to keep all file attributes. > In Linux, cp -a seems to be better for archives than tar, because it > preserves these properties better, even across devices.
Hmm..., with tar, -p will preserve permissions and -S will handle sparce files efficiently. -W will additionally verify that that data was archived without corruption. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.