ZotFile - Advanced PDF management for Zotero
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
This discussion has been closed.
Not just attachments -- it seems to be able to identify the collections that any item is in. That would be a great feature, but I certainly understand that it's not in your main line of development.
Changes in 2.1
- Important: the tag for tablet files was changed from '_READ' to '_tablet'
- New saved search for modified files on tablet
(updates automatically, replaces 'Scan Tablet Files' function, which has been removed)
- Zotfile menu items only appear for bibliographic items and attachments (not for notes)
- Bug fix: allow the extraction of annotations in group libraries
- Other bug fixes
I have Zotero 3.0.3 and Zotfile 2.0, German
Any hints what I could check?
You should try 2.1. Delete the saved searches and let me know whether the problem persists. Here is the link for 2.1:
https://addons.mozilla.org/en-US/firefox/addon/zotfile/versions/
Zotfil wont move to file.
My Settings are:
move to "Target" /%y/%A
Renaming by zotero
The file is just attached from the download-directory, not moved and not renamed
can someone help please?
I have a question regarding the "rename/move/link" option of Zotfile:
During this process, is there (implicitly) a call for the PDF to be (re)indexed?
I suspect it may be one of the reasons Firefox hang some time even after the file has been renamed and moved (i.e., after the file is visible in its folder-structure).
Schuessi, maybe you have the same problem I already mentioned, concerning unauthorized characters (such as :) in a field that is used to rename/move the file.
Really great addon.
Question/suggestion: The extract annotation from PDF only extract the:
-highlights
-notes
-underlines
I mostly use the
-callout tool
-and typewriter
callout gives much better visibility then the note tool (at least to me).
Is there an easy way to insert the extraction of these too?
Or it is an unimplemented function of pds.js?
I tried to look at the code of zotfile.js, but my java is very meager.
best wishes
Thierry.C, yes I think that is why it sometimes hangs. I am not controlling when pdfs get indexed so. It just happens automatically when new attachments are added and that is basically the case when you do certain renaming actions (they reattach the file). There is one case for which a future version of zotfile will help though. Here are all the possible renaming possibilities. Currently, all expect 4 should trigger a reindexing. A future version might avoid reindexing for 1 but the other cases always require to reattach the file, which triggers the indexing as far as I know. I am not sure about these things though because I never used the indexing feature.
1 Linked att -> Linked att
2 Linked att -> imported att
3 imported att -> Linked att
4 imported att - > imported att
szallomany, sorry, I don't have any plans to add the extraction of other annotation types right now...
I adjusted parameters of the indexing feature such that it doesn't hang too much.
I do not understand what the 2) option corresponds to (i.e., how to trigger it).
By curiosity, why are you not using the indexing feature? This is the only way to be able to search within docs, right?
Joscha, I am new to zotfile -- it appears I'll be using it quite a bit (and making a donation). Thanks for all the hard work you've put into it.
In the end, the quality of extraction will depend on the pdf documents you use...
I downloaded the plugin hoping it will be the heavenly answer to my prayers for a tool that will do a "batch remove zotero file attachment",as this came up at the google search with these terms...Unfortunately it probably isn't, unless i am doing something wrong, so please enlighten me...
The real problem is that after i started using zotero i thought it would be a good idea to attach pdf files as files (not links) which resulted in a huge database which now cannot be synced with main server, so only used locally.Since they are more than a 1000 entries,i am looking for a tool to batch remove the attached files and turn them to local links instead...would that be possible via the plugin? if not any ideas would be most welcome...
Thanks beforehand for any answers.
Not sure what system you are on, anginara. For windows, searching the zotero directory for filetype:pdf would at least give you all the pdfs themselves, which could then be removed. But that doesn't solve the problem. Does this link help?: http://forums.zotero.org/discussion/15503/workflow-for-importing-a-large-folder-of-pdfs-as-links/#Item_5
I've long considered changing all of my links in my zotero database, but have held off because there are no tools to do it unless one works on the sqlite database itself. There's information about that here:
http://www.zotero.org/support/dev/client_coding/direct_sqlite_database_access
and a discussion of editing the database in several places (search the forum) including here:
http://forums.zotero.org/discussion/2358/?Focus=84203
This probably all deserves a new thread, rather than the zotfile thread
If you do need your pdfs synced, obviously batch-removal is a bad idea anyway. In that case you can either pay for additional file storage through Zotero or use a third party WebDav server - with a bit of searching you should be able to find WebDAV providers who provide up to at least 2GB for free and more for relatively little money. Many people have much more than 1000 attachments synced with Zotero.
The truth is that i hadn't seen the option for the file syncing mronko proposed, which does actually partially solve my problem and also was one of these tips that make you feel really silly....
What i was trying to do is what adamsmith proposed, and to achieve that, i did fiddle around with the SQLite manager addon in firefox,but i admit that i did get scared with the option (too much work to play around).
My instinct was right though, as joscha proposed, it can be done with the zotfile ext (i tried it with a couple) but since it is a slow process and i am really scared of losin everything, i will stick to the primary solution
once again, thanks everybody....
I have 2 (related) newbie questions that I'm hoping you'll be able to answer. I am currently naming my PDF files according to the convention (Journal)(Volume)-(Start Page)-(End Page).pdf. As page numbers are not yet included as wildcard options in Zotfile, I'd like to move these files WITHOUT renaming them in order to not lose the page number information. While this is possible as an additional checkbox option under Tablet Settings ("Rename files when they are sent to the tablet"), it does not appear to possible to move files without renaming when relocating files locally. Am I overlooking something here, or this this option lacking in the current iteration of Zotfile? If this (and/or page number wildcards) could be easily implemented in the next revision, this would certainly be appreciated.
Thanks for your reply... I look forward to the change - Great work on the program!
Tony
I've got a quick question about whether Zotfile is meant to be able to copy and rename files that aren't added through Zotfile itself.
Basically, I don't always want to add attachments to my Zotero items by using the Zotfile "Attach new file" menu option, as the relevant PDF is not always the most recently downloaded PDF. However, when I attach a file using the standard Zotero "Attach stored copy of file" button, it doesn't get picked up by Zotfile and copied/renamed to my selected output folder. Similarly, if I drag a PDF file into the Zotero window and then right-click and choose Get PDF Metadata, Zotfile doesn't pick it up.
Is this by design? Or is this a bug? Or is it a feature that hasn't been added yet that is in the works?
In case it matters, I'm using Zotero Standalone.
Cheers,
Robin
I have a small problem in remaning pdfs. When i save a pdf corresponding to a particular zotero item from net (using save to zotero option) and then rename it (through manage attachments option), zotfile renames the file.
However if i attach a stored copy of a file (pdf) to the zotero item and then try to rename the pdf, zotlite fails to rename the pdf. Why is it so ?.
Thanks,
sns
Also, please check the FF error console as described here:
http://www.columbia.edu/~jpl2136/zotfile.html#bug
I have provided below some more informations that you have asked.
Os: Ubuntu 11.10, Zotero: V-3.0.3 , Zotfile: V-2, firefox: V-11.0
zotero item: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1184292/
I tried in another computer as per your suggestion and i found the renaming by zotfile works perfectly when a zotero item is attached to stored copy of a file. The only difference is that this system has firefox 7.0 and ubuntu 11.04. Versions of zotero and zotfile are the same.
I used to "send file to tablet" function to a folder in sugar sync which I synchronize with my ipad.
After reading however, I can "get file from tablet".
The pdf is no longer in the sugar sync folder. However, on zotero, the file is still listed under file in tablet.
Any clues?
Star7, I assume you mean "I can not 'get file from tablet'"? Whether a file is on the tablet is determined by the '_tablet' tag. So it looks like the location of the file somehow changed but the tag was not removed. It would be good if you can reproduce this and post the exact steps. If it only happened with this one file, just remove the tag manually (and possibility the stuff in the note field but I think that is not necessary).
1) I send several files using the "Send to tablet" function to a folder on sugar sync.
2) After reading in on ipad, I decide to use the "Get from tablet" function.
3) I selected a tag, selected all 14 (I think) articles, and click "get from tablet".
4) A confirmation box ask me if I'm sure and I said yes.
5) Subsequently, I check the folder in sugar sync and the pdfs are gone, which is good.
6) However, according to zotero, this files are still in tablet and the "get from tablet" function is still available.
7) Trying to use the "get from tablet" does not elicit any response however.
That's all.