Bernd Walter wrote:
> Oliver Fromme wrote:
> > Besser cpdup (oder notfalls rsync); das kopiert nur die
> > Unterschiede. cpio kopiert immer alles.
>
> Default kopiert cpio nur Dateien mit aktuellerer modtime.
OK, stimmt. Das kommt davon, dass meine Finger nach "cpio"
immer automatisch "-dump" (mit "u") tippen. :-)
Wobei allerdings die Benutzung von cpio relativ kryptisch
und kompliziert ist, wenn man es richtig machen will.
Man vergleiche mal:
# cd $quelle; find -dx . -print0 | cpio -dmp0 $ziel
# cpdup $quelle $ziel
Gruß
Olli
-- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Passwords are like underwear. You don't share them, you don't hang them on your monitor or under your keyboard, you don't email them, or put them on a web site, and you must change them very often. To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Wed 25 Mar 2009 - 13:54:28 CET