[X-Unix] shell scripting
Bert Knabe
bknabe at mac.com
Thu Jan 15 19:24:44 PST 2004
On Jan 15, 2004, at 9:06 PM, Albert Lunde wrote:
*snip*
> perl makes a better Unix scripting toolbox that shell scripts or C++.
That seems to be the general consensus. Since it looks like scripting
may be a big part of my future, guess I'll pick up some books on perl.
> In this case, if you don't care about anything but the data fork
> and classic Unix permissions, you might be able to do it with
> rsync. If you need all the Mac permissions, look for rsyncX
> but beware that it's usually behind the main rsync code.
>
> The rsync program does efficient one-direction incremental
> updates, copying any changed files. If you are going
> over the network it can copy parts of files, locally I think
> it defaults to doing whole file copies.
This looks like exactly what I need. I"ll check it out. But I may
create a script as an exercise, anyway.
>
> See: http://rsync.samba.org/
>
> You can use a cron job to run something perodically as long
> as the box doesn't sleep.
Got it.
Thanks to everyone.
Bert
More information about the X-Unix
mailing list