erlug
[Top] [All Lists]

Re: [Erlug] Copia HD bit by bit

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] Copia HD bit by bit
From: Maurizio Lemmo - Tannoiser <tann@xxxxxxxxx>
Date: Fri, 8 Mar 2002 12:59:14 +0100
* venerdì 08 marzo 2002, alle 00:42, Max Negro scrive:
> > Certo! E` l'unica soluzione "giusta".
> 
> # mount /dev/hda1 /mnt/hda1
> # mount /dev/hdb1 /mnt/hdb1
> # (cd /mnt/hda1 && tar cf - .) ! (cd /mnt/hdb1 && tar xf -)
> 
> Non va bene uguale?

Una gara! Una gara! ok:

cd /mnt/hda1 && echo cp -a `/bin/ls -1Ab | egrep -v "^proc$"` /mnt/hdb1
| sh

tutto su una linea. va nella dir, copia tutti i file e le dir eccetto
proc in /mnt/hdb1

ghghghgh

-- 
Buffy: "Hey, sorry about your fish."
Willow: "Uh, it's okay. We hadn't really had time to bond yet."
        --Buffy the Vampire Slayer: Passion

Maurizio - Tannoiser - Lemmo
STIGE Srl Servizi Informatici
Founder Member of ERLUG (Emilia Romagna Linux User Group)
http://erlug.linux.it


<Prev in Thread] Current Thread [Next in Thread>