Re: Synchronization Issues? or Why do my Shell Scripts Bite me after they are Done?
Re: Synchronization Issues? or Why do my Shell Scripts Bite me after they are Done?
- Subject: Re: Synchronization Issues? or Why do my Shell Scripts Bite me after they are Done?
- From: Doug McNutt <email@hidden>
- Date: Sun, 19 Mar 2006 12:05:49 -0700
At 13:23 -0500 3/19/06, Jon Rosen wrote:
>I've had an ongoing problem since upgrading a computer to 10.4.
and continued
>My next step is to delete the individual files that are no longer needed. The problem that developed is that I get more than occasional Finder error messages telling me that these files are busy, and can't be moved to the trash.
I think it's neither a 10.4 nor an AppleScript problem. I use 10.3.9 to support my favorite file server from long ago - a Mac SE/30. A finder window always points to a commonly used shared folder and I regularly open short snippets of text that arrive there from a bunch of other machines. Mostly Linux these days. On closing a file after looking at the text - usually BBEdit - It is pretty much always impossible to move it to the trash folder. Part of the delay shows up right away if you use a right click planning on the Move-To_Trash option. It takes a minute while Finder, or someone else, fills out the open-with list. Yes. I did file a bug long ago and somewhere I have a radar number but nothing ever happened. It's moot now because Tiger no longer supports older Macs.
My solution is to make my own trash folders inside of each directory where the problem occurs regularly. It's always possible to move a file there even if it's still open. At periodic intervals I run a script that deletes everything in those folders. A Do Shell Script, cd /pathto/trash; rm *; doesn't involve Finder at all and provides immediate, though dangerous, satisfaction. Actually I include a check to see that $PWD is the name I expect before issuing the rm * and I set up the whole script as an executable tcsh file to simplify the Do Shell Script command to a single line.
One can tell Finder to update every file in window "whatever" but it hasn't helped me over a network.
--
--> Life begins at ovulation. Ladies should endeavor to get every young life fertilized. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden