How to force tar to be quiet?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sun Dec 27 18:46:18 UTC 2009
Коньков Евгений wrote:
> Здравствуйте, Freebsd-questions.
>
> when
> tar -cf file.tar /home/*
> It always says:
> tar: Removing leading '/' from member names
>
> man tar
> -P Preserve pathnames...
> But I do not need to preserve. I want to tar without that warning.
>
> How to force tar to be quiet?
>
Don't give the leading '/' in path names. Like so:
tar -cf file.tar -C / home
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091227/34d0e830/signature.pgp
More information about the freebsd-questions
mailing list