Le Mon, 11 May 2009 21:02:15 +0200,
"Jean P." <jean.palazue...@free.fr> a écrit :

> tar -cf - /home/user1/Source | ( cd /home/user2/Destination; tar -xvf
> - )

Il me semble plus simple d'utiliser "cp -a", qui fera ce qu'il faut
avec les liens symboliques.

       -a, --archive
              same as -dpR

et

       -d     same as --no-dereference --preserve=links

Thomas
-- 
Thomas Petazzoni                         http://thomas.enix.org
Promouvoir et défendre le Logiciel Libre http://www.april.org
Logiciels Libres à Toulouse              http://www.toulibre.org

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Toulouse-ll mailing list
Toulouse-ll@toulibre.org
http://toulibre.org/cgi-bin/mailman/listinfo/toulouse-ll

Répondre à