Quote:
Originally Posted by mlevin777
Is there any easy way to convert the file URLs to a pathname (get rid of the %20 etc.) so I can check easily if the file actually exists?
|
Well, in the Terminal, if you just
open <URL>
it will either successfully open the file, or generate an error message which will have the pathname in the format you expect, as seen here:
Code:
open file://localhost/Volumes/Macintosh%20HD/Users/oftest/Desktop/OmniGraffle%20tutorials/part2.mov
The file /Volumes/Macintosh HD/Users/oftest/Desktop/OmniGraffle tutorials/part2.mov does not exist.
While playing around with some of my dangling links (many caused by linking to files on the desktop, which subsequently got put away), I noticed that after I fixed the first one, the "locate" file browser would helpfully select the right file. Further investigation shows it is just caching the last directory it used and searching for a match there.