[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Copy entire /usr



Le Ven 12 septembre 2008 08:15, Raven a écrit :
[...]
> Before starting blindly cp'ing files, I would like to hear your advice
> on the process and if I have any chance of succeeding (or if you have
> another method that would work better)

Hi,

You can use :
# ( cd /usr; tar cf - . ) | ( cd /mnt/newusr ; tar xvf -)

to do the copy, but as your disk will probably fail during the process,
rsync is a better choice as it can resume the copy.

I think you will certainly miss some files.

Fanfan
-- 
http://www.cerbelle.net - http://www.afdm-idf.org


Reply to: