Μετακίνηση /home: cp, mv, tar ή rsync; ποιο και γιατί;

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Mar 16 22:49:42 EET 2010


On Tue, 16 Mar 2010 19:28:30 +0200, Σπύρος Γεωργαράς <sng at hellug.gr> wrote:
> Γειά σας και πάλι
>
> Το θέμα τα λέει όλα. Πάντα χρησιμοποιούσα το tar, αλλά χωρίς να ξέρω ακριβώς
> γιατί...

Όλες οι λύσεις παίζουν.  Χρησιμοποίησε αυτή που έχεις συνηθίσει και
ξέρεις τα options της καλά.

Εγώ π.χ. συνήθως το κάνω αυτό με tar ή cpio σε single-user mode:

    # cd /home ; find . | cpio -p -dmvu /hewhome

    # tar -c -f - -C /home | tar -xpv -f - -C /newhome

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20100316/e3c66c05/attachment.pgp>


More information about the Linux-greek-users mailing list