> On 7 Feb 2023, at 21:52, Laurel MacKenzie <[email protected]> wrote:
> 
> I have Bibdesk auto-file my PDFs in a folder on a mounted Google Drive 
> volume, so that I can access them from anywhere. Without warning, Google 
> Drive has changed the way it mounts on a Mac, breaking all my file links.
> 
> Previously, files were saved at the following path:
> ../../../../../../Volumes/GoogleDrive/My Drive/Books &amp; papers/FILENAME.pdf
> (This is based on my decoding the bdsk-file-N field of entries added before 
> the migration)
> 
> I've changed the autofile location in Bibdesk preferences so that newly-added 
> PDFs go to the right place. Now, files are saved at this path:
> ../../GoogleDrive-USERNAME/My Drive/Books &amp; papers/FILENAME.pdf
> (This is based on my decoding the bdsk-file-N field of entries added after 
> the migration)
> 
> But the 3000 PDFs I added before Google Drive migrated itself are all showing 
> up as broken links in Bibdesk. Is there any way to fix them?
> 
> Thanks,
> Laurel
> 

That is a problem, as the whole folder seems to have moved, so all references 
to the files we save become invalid. 

Perhaps you could try to fool BibDesk by recreating the old location with a 
trick. Create a disk image called GoogleDrive (you can do that using Disk 
Utility, File > New Image > Blank Image, make sure you set the Name to 
GoogleDrive). When attached, add a symlink inside the drive (at 
/Volumes/GoogleDrive), named “My Drive”, and pointing to the new existing one 
in GoogleDrive-USERNAM: Use Terminal.app to cd to the disk image volume 
/Volumes/GoogleDrive, and use the command 

ln -s "../../path/to/GoogleDrive-USERNAME/My Drive” “My Drive”

(use the correct relative path to the folder).

Now you should get a folder My Drive inside the disk image’s volume, containing 
all your files. If you then open BibDesk, the links should be restored. If you 
then detach the volume, and the links still work, you can save the BibDesk 
file, with the links restored.

Christiaan

_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to