LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   N00B Q : How do you cp everything??? (https://www.linuxquestions.org/questions/linux-newbie-8/n00b-q-how-do-you-cp-everything-18808/)

Kaj 04-18-2002 01:54 AM

N00B Q : How do you cp everything???
 
Like files and directories. Thanks in advance!

5amYan 04-18-2002 02:00 AM

You mean recursively= Directory and everything in it?
cp -r source dest.
or a disk image
dd ...
man dd - cuz I can't remember.

Kaj 04-18-2002 02:48 AM

Thanks Yan! I guess adding a little -f won't hurt either? dd? Sounds new...

5amYan 04-18-2002 11:41 AM

dd
 
dd stands for disk duplicator <<I think

It's like rawrite in DOS.

Copies entire disk image. Didn't know how much of everything you were looking to copy..

DMR 04-18-2002 04:34 PM

Re: dd
 
Quote:

Originally posted by 5amYan
dd stands for disk duplicator <<I think
Disk Dump
:)

5amYan 04-18-2002 04:57 PM

yep I geuss that's right.

It has many uses. I however have only used it to copy images to disks...ie

dd if=/where/my/image/is.fs of=/dev/fd0

dusk dump infile= disk image outfile= floppy drive

if I remember correctly


All times are GMT -5. The time now is 01:20 PM.