Здравствуйте, Matthew. Вы писали 27 декабря 2009 г., 20:46:05:
MS> Коньков Евгений 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? >> MS> Don't give the leading '/' in path names. Like so: MS> tar -cf file.tar -C / home MS> Cheers, MS> Matthew # tar -cf /home/kes/backup/conf/aaa_etc.tar -C / boot/loader.conf etc/* usr/local/etc/* usr/local/virtwww/* tar: No match. And next does not work as expected: # tar -cf /home/kes/backup/conf/aaa_etc.tar -C / boot/loader.conf etc usr/local/etc usr/local/virtwww I get: boot etc mysite local sub usr virtwww Why local, sub, mysite, virtwww are in ROOT or tar??? 'local' must be under 'usr' 'virtwww' must be under 'local' 'mysite' must be under 'virtwww' but not in root Why I get that wrong result? Thank you -- С уважением, Коньков mailto:[email protected] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
