Re: using rsync
Re: using rsync
- Subject: Re: using rsync
- From: Ed Stockly <email@hidden>
- Date: Tue, 21 Aug 2007 08:39:58 -0700
so ahh.. why are my files not displaying in finder...?
No idea. I've also had trouble with the Finder not showing files on remote volumes where rsync was not involved. At the time, the only way to make them show up was to copy a local file into the same folder. I even wrote a Finder script to copy a local file into it, and then delete it -- but that failed, where doing it manually succeeded.
I've noticed the same thing and resolved it with a script that created a new folder in the directory then deleted it.
tell application "Finder" set trueUpdate to make new folder in remoteDirectory delete trueUpdate end tell
It seems that Finder has an issue updating the display on remote volumes when files are copied using methods that are not the finder. That includes Jons Commands, Shell scripting (terminal and do shell script) as well as a few applications.
I don't know what the update command does. I don't think I've ever seen it update anything.
It's one of the reasons why I think talk of keeping to "pure" AppleScript rather than shell scripting is giving people a bum steer. Sometimes what matters is having things actually work.
don't get me started
ES =
|
_______________________________________________
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