Re: shell script to selectively copy files?
Re: shell script to selectively copy files?
- Subject: Re: shell script to selectively copy files?
- From: Chuck Soper <email@hidden>
- Date: Thu, 8 Jul 2004 16:47:06 -0700
At 9:18 PM +0200 7/8/04, Markus Hitter wrote:
Am 08.07.2004 um 20:46 schrieb Chuck Soper:
(I sent a couple of days ago and didn't get a response, so I
thought I'd post again.)
You have everything working and even two ideas to improve your
situation. Where's the need to answer you?
Because I thought that there was a better way, but perhaps there
isn't. Your response helps.
... The problem is that the script is executed every single time I
build. I really only want to copy file(s) when the source is more
recent than the destination.
"rsync" is a tool made for such situations.
I just glanced at the man page for rsync. It looks very useful for my
situation. I'll keep it in mind for when I try to write a smarter
shell script. It'd be nice to see an example of rsync in an Xcode
shell script target or build phase (if anyone has one).
For now, I have what I need. :-)
Have fun,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
Cheers,
Chuck
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.