cp versus cpio

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy C. Reed
Data:  
Asunto: cp versus cpio
On Thu, 23 Oct 2003, Lynn David Newton wrote:

> Does anyonw have any particular insight into the
> advangages/disadvantages of using cp -R versus cpio?


cpio is useful because it can be piped over a ssh connection.

I also like -d (--make-directories) for creating leading directories as
needed.

As for access time, GNU cpio 2.5 has:
       -a, --reset-access-time
              Reset the access times of files after reading them, so that it
              does not look like they have just been read.


Jeremy C. Reed
http://bsd.reedmedia.net/