cp versus cpio

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Jeremy C. Reed
日付:  
題目: 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/