Subject: Re: copying entire directory to another filesystem
To: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
From: Brett Lymn <blymn@baesystems.com.au>
List: current-users
Date: 05/23/2000 19:45:33
According to Thilo Manske:
>
>Anyway, I use dump|restore:
>dump 0f - <dir1>|(cd <dir2>;restore xf -)
>
*ahem* make that:
dump 0f - <dir1>|(cd <dir2> && restore xf -)
otherwise if you botch the <dir2> argument you may end up restoring
into your current working directory. Admittedly this is not 100%
foolproof because it will function if the fumbled <dir2> exists but it
does give a bit of extra insurance.
--
===============================================================================
Brett Lymn, Computer Systems Administrator, BAE SYSTEMS
===============================================================================