Re: cp on BSD (actually Mac OSX)

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Jeremy C. Reed
日付:  
To: plug-discuss
題目: Re: cp on BSD (actually Mac OSX)
On Fri, 2 Apr 2004, Craig White wrote:

> Man cp on OSX didn't give me any clues about an 'update' option
>
> Clues?


Use cpio or tar or pax.

cpio's normal behaviour is to not replace newer files with older files.

Some pax implementations have an -u option ("Ignore files that are older
than a pre-existing file").

And some versions of tar have an -u switch too for updating.

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

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss