Long FIle Names
I keep my Zotero library on an external hard drive, and carry it back and forth from work to home. That way, I always have all my files with me. (I might also note that I use the Firefox plugin at work, and standalone at home, and it works seamlessly in both places, even though the library ends up with different drive letters. Kudos to the developers.) Since I keep my library in such a "dangerous" place, I back it up to my home & work machines several times a week. I do this by simply copying my entire custom directory.
At the end of each copy, Windows informs me that some of the file names (I'm up to 12) are too long and I have to skip copying them. I have determined that pretty much all of the names are from webpages (usually images) or snapshots. Is it possible to add a way for Zotero to enforce shorter filenames, and possibly remap the links within the snapshot?
At the end of each copy, Windows informs me that some of the file names (I'm up to 12) are too long and I have to skip copying them. I have determined that pretty much all of the names are from webpages (usually images) or snapshots. Is it possible to add a way for Zotero to enforce shorter filenames, and possibly remap the links within the snapshot?
No, there's no way to remap links within snapshots, but such files are usually advertising junk files that can just be deleted.
For your purposes, you could create backups by zipping up the entire directory, which should eliminate the problem with long filenames. (Though I believe that zip had some path length restrictions as well)
In general, this problem has come up before. Zotero now makes sure that the filenames are not too long for the system that the snapshot is created on, but it's obviously impossible to make sure that they are not too long when copying to a different location. I wonder though (esp. for snapshots) if there is any sense in keeping the filenames longer than 30 characters or so. IIRC the devs weren't too happy about very short file names, but I can't find the discussion right now.