"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

cp

lama007 29.08.2007 - 18:22 686 2
Posts

lama007

OC Addicted
Avatar
Registered: Mar 2002
Location: Austria
Posts: 851
Hi!

Auf der man-cp Seite habe ich diese Option gefunden:
--copy-contents
copy contents of special files when recursive

Welche special files sind das?

issue

Rock and Stone, brother!
Avatar
Registered: Feb 2003
Location: Linz
Posts: 3644
Zitat

> '--copy-contents'
> If copying recursively, copy the contents of any special files
> (e.g., FIFOs and device files) as if they were regular files.
> This means trying to read the data in each source file and writing
> it to the destination. It is usually a mistake to use this
> option, as it normally has undesirable effects on special files
> like FIFOs and the ones typically found in the `/dev' directory.
> +-- In most cases, `cp -R --copy-contents' will hang indefinitely
> | trying to read from FIFOs and special files like `/dev/console',
> | and it will fill up your destination disk if you use it to copy
> +-- `/dev/zero'. This option has no effect unless copying
> recursively, and it does not affect the copying of symbolic links.

lama007

OC Addicted
Avatar
Registered: Mar 2002
Location: Austria
Posts: 851
Ok, thx, info cp.
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz