cp versus cpio

Inizio della pagina
Allegati:
Messaggio come e-mail
+ (text/plain)
Delete this message
Reply to this message
Autore: Jeremy C. Reed
Data:  
Oggetto: 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/