>There has already been mention of the `dd' command.
>
>However, this bash function also handy:
>
>bigcp() {
> [ ! -d $1 ] && echo "$1 is not a directory\!" && return 1
> [ ! -d $2 ] && mkdir $2 || ( echo "Cannot make directory $2" ; return 1 )
> ( cd $1 && tar cfps - . ) | ( cd $2 && tar xvvvpf - )
>}
Another way is 'cp -dpR dirname destination; rm -rf dirname'.
-CJO-
C.J. Oster (Linux Guru/Surge Addict)
--------------------------------------------------------------------
| [EMAIL PROTECTED] | 910 S. 3rd St, #1318 | CCSO, WSG, UIUC |
| [EMAIL PROTECTED] | Champaing, IL 91820 | 1443 DCL, Urbana |
--------------------------------------------------------------------
(580)761-6393 (217)328-8934
"Linux, for people with an IQ above 98" - Bumper Sticker
"Hm, a little big for a cup holder... Why does it say '4x' on it?"