Re: using rsync
Re: using rsync
- Subject: Re: using rsync
- From: Philip Aker <email@hidden>
- Date: Tue, 21 Aug 2007 00:34:21 -0700
On 2007-08-20, at 02:30:42, Wayne Melrose wrote:
I've started to dabble with using rsync, my aim is to have a
folder on a main server, which is like the "master" set of files,
which will then use rsync to distribute any changes to the other
servers.. (with the same set of files. )
My question/problem ..
My current "test" of using rsync, I have a folder "test" sending
text files to "testdesitination" when I modify any files in the
"test" folder, then run the script, and try to open the changed
files, they disappear from the finder window, of course they are
there when using "ls" to check, and prompting the folder to update
(by manually copying the file into the folder) tells me the file
exists and then it appears..
(heres my command
do shell script " rsync -Eauvz '/Users/waynemelrose/Desktop/test/'
'/Users/waynemelrose/Desktop/testdestination' --delete"
)
I've had this trouble before and sorted it out by removing
the .DS_store file. although I'm wondering if there is a better
alternative to this? or a correct way to have finder update the
contents of it's folders?
Have you tried rsyncx <http://www.versiontracker.com/dyn/moreinfo/
macosx/16814>?
On that page it states: "You cannot use the standard Mac OS X install
of rsync to manage HFS+ volumes."
I don't know how true this is since the product doesn't specifically
say that it's been updated for OS X 10.4 and rsync has added the -E
option, but it would certainly account for the .DS_Store issue.
Philip Aker
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden