Re: shell script to selectively copy files?
Re: shell script to selectively copy files?
- Subject: Re: shell script to selectively copy files?
- From: Paul Russell <email@hidden>
- Date: Thu, 8 Jul 2004 22:13:25 -0700
On Jul 8, 2004, at 4:47 PM, Chuck Soper wrote:
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).
Just change ditto to rsync -a and put trailing slashes on your paths,
i.e.
% ditto "$SRCROOT/subDir/fileName"
"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/subDir/fileName"
becomes
% rsync -a "$SRCROOT/subDir/fileName/"
"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/subDir/fileName/"
Paul
_______________________________________________
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.