cp on BSD (actually Mac OSX)

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: Craig White
Päiväys:  
Vastaanottaja: plug-discuss
Aihe: 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