Re: Odd Finder duplication error
Re: Odd Finder duplication error
- Subject: Re: Odd Finder duplication error
- From: Peter Waibel <email@hidden>
- Date: Wed, 17 May 2006 09:19:04 +0200
I had some simmilar problems duplicating files.
Sometimes the finder seems not to be up to date.
There is a finder comand "update" that i used with some success.
update: Update the display of the specified object(s) to match their
on-disk representation
update reference -- the item to update
[necessity boolean] -- only update if necessary (i.e. a finder
window is open). default is false
[registering applications boolean] -- register applications.
default is true
(update command from the finder's dictionary displayed by
ScriptDebugger)
Maybe you have a resource fork fragment from the file "My project
folder" in your sites folder.
Try command line ls in the terminal:
cd your/sites/folder
ls "My project folder"/rsrc
If the command returns
My project folder/rsrc
you have a resource fork that the finder does not display
but prevents to copy a file with the same name to that location.
Peter
Am 16.05.2006 um 20:35 schrieb Gnarlodious:
I am getting an error while saying this:
duplicate (every file of sourcePath whose name ends with ".html") to
targetPath with replacing
which copies 10 files from a diskimage to the "Sites" folder. I see a
brief error message as the script runs, but the window closes. I
finally caught it on a timed screensho. Here is what it says:
An item named "My project folder" already exists in this location. Do
you want to replace it with the one you are moving?
There are no such folders or files anywhere on my computer or on the
diskimage. Does anyone know what is causing this error?
-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40opix.de
This email sent to email@hidden
Grüße aus Berlin
Peter Waibel
--------------------------------
Opix AG
Peter Waiibel
Am Borsigturm 46
13357 Berlin
Fon: +49 30 4303 4421
Fax: +49 30 4303 4409
email@hidden
email@hidden
email@hidden
http://www.opix.de
--------------------------------
_______________________________________________
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