cp on BSD (actually Mac OSX)

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Craig White
日付:  
To: plug-discuss
題目: cp on BSD (actually Mac OSX)
I wrote a script to do a nightly backup but the cp in the BSD version of
MacOSX doesn't seem to have the same options as Linux. Specifically, I
would (for this purpose) use...

cp -pruv /path/to/source /path/to/target # removing the v for 
              # the cron script unless I am logging)


but on BSD, it didn't allow the 'u' (update) option so it seems as
though I have no recourse but to copy everything all the time.

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

Clues?

Craig

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