Google File Stream rename issue for linked files
Summary: I have a broken link problem and cannot use the relative path option. Looking for a work-around so I don't have to manually re-link all my files.
Background:
I have all of my pdfs in a single folder, stored in a shared Google Team drive folder.
Linked files get renamed and I access them on multiple PCs.
The file structure between PCs is always the same, since Team drives is a virtual drive, always assigned to G:
I have always added files by "link to file..." since I have more than the free storage option (~1500 articles & ~4 GB).
Running most recent version of Zotero stand-alone client on Windows 7 64-bit.
The Problem & Attempted Solutions:
Recently, Google renamed the service from "Team Drives" to "Shared drives", which changed the path of the folder and thus broke all the links:
from G:\Team Drives\[...]\Refs
to G:\Shared drives\[...]\Refs
I attempted to make a folder under G: named "Team Drives" and attempted to rename the "Shared drives" folder, either of which results in a Windows error
("Item not found [...]" for the new folder and "An unexpected error is keeping you from renaming the folder[...]" for renaming. Both of which were attempted running Windows Explorer as administrator).
I attempted to use a relative path name in Advanced>Files and Folders>Linked Attachment Base Directory but the box only allows clicked selections through windows explorer, meaning I cannot manually type in a non-existent location to spoof the previous location.
I downloaded Zutilo after reading https://forums.zotero.org/discussion/60690/move-linked-files , but don't see a way that I can switch to relative paths now that I am unable to access the previous folder location.
Any help would be greatly appreciated, as I don't really want to manually re-link 1500 files. Thanks!
Background:
I have all of my pdfs in a single folder, stored in a shared Google Team drive folder.
Linked files get renamed and I access them on multiple PCs.
The file structure between PCs is always the same, since Team drives is a virtual drive, always assigned to G:
I have always added files by "link to file..." since I have more than the free storage option (~1500 articles & ~4 GB).
Running most recent version of Zotero stand-alone client on Windows 7 64-bit.
The Problem & Attempted Solutions:
Recently, Google renamed the service from "Team Drives" to "Shared drives", which changed the path of the folder and thus broke all the links:
from G:\Team Drives\[...]\Refs
to G:\Shared drives\[...]\Refs
I attempted to make a folder under G: named "Team Drives" and attempted to rename the "Shared drives" folder, either of which results in a Windows error
("Item not found [...]" for the new folder and "An unexpected error is keeping you from renaming the folder[...]" for renaming. Both of which were attempted running Windows Explorer as administrator).
I attempted to use a relative path name in Advanced>Files and Folders>Linked Attachment Base Directory but the box only allows clicked selections through windows explorer, meaning I cannot manually type in a non-existent location to spoof the previous location.
I downloaded Zutilo after reading https://forums.zotero.org/discussion/60690/move-linked-files , but don't see a way that I can switch to relative paths now that I am unable to access the previous folder location.
Any help would be greatly appreciated, as I don't really want to manually re-link 1500 files. Thanks!
Tested it out in small batches and finally got comfortable with doing the rest all at once. Everything seems to have worked out. Really appreciate the reply, I wouldn't have figured it out otherwise.
If anyone else is having a similar issue, here's a quick rundown (it is really easy..):
First you need to enable the appropriate options under Tools>Zutilo Preferences>User Interface (not sure if these were enabled by default or not)
Make sure "Modify attachments" & "Copy attachment paths" are in a context menu
Right click on an affected file, "copy attachment paths", then paste it in a text editor.
Find the new location of your files, copy the path, and put that in your text editor.
Now select all in your library (or do a couple to make sure everything is working), right click and "Modify attachment paths".
Go get the incorrect path from your text editor, paste it in and check the "replace all instances" box, then click ok.
Copy and paste your new attachment path into the next dialog box, and confirm
That should be all there is to it, took less than 5 minutes for all my files.
What a great plugin!