Standalone dropbox sync
Hi everyone. I was wondering if someone could explain to me how I can setup Zotero so that it syncs with dropbox. In firefox I can change the data directory, but in standalone I cannot.
Thanks.
Thanks.
If there are any issues with this I haven't encountered them.
afaik symlinks don't exist on windows though, or do they?
symlinks are in windows 7. hardlinks in any version of NTFS.
I use this:
http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html
Just to reiterate the point here, a directory junction acts like a folder, only it really just points to another folder, and any changes to either the original folder or the directory junction affect both 'locations' because they are really the same folder.
On the 1st computer, you will need to create a directory junction in your dropbox folder that points to your zotero "storage" folder. If you let your dropbox sync, the directory junction will appear on other computers within your dropbox (as a normal folder!) However, it is not sync'd with your zotero storage folder yet on those computers.
So, on the 2nd and 3rd etc computers, you need to first delete the storage folder from the zotero profile folder, and replace is with a directory junction of the storage folder that is already in your dropbox.
To create a directory junction of folder A in folder B, you have to navigate to the parent folder of folder A, right click on folder A, and select "pick link source". Then, navigate the the parent folder of folder B, right click folder B, and select "drop as" -> "junction".
the junction creation process is illustrated at the following site:
http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html#junctionsupport
I store a good number of pdfs in my dropbox folder, can I, through Zotero, link to the pdfs in that folder? Or could this cause the problem of corrupting databases?
I may also wish to annotate my pdfs with my iPad using some kind of app but not sure how to do this yet. Suggestions are appreciated.
https://zotpad.uservoice.com/knowledgebase/articles/103395-what-is-a-symbolic-link-and-why-should-i-use-one-w
ZotPad 1.1 enables an annotation workflow. It is currently in review for App Store and will be available in a couple of days. You can also use Zotfile and Dropbox.
I'm trying to set my Dropbox Articles folder to be Zotero's storage for PDFs only. Though I used mronkko's guidance on symbolic links I could not make it work. I want my pdf's to be in Dropbox Articles, when I created a symbolink link target /zotero/storage path /Articles it actually created /Articles/storage folder (which suggests to move all articles to /Articles/storage/ Which I would rather not do.
Secondly if I chose this option does it mean that when zotero adds PDF file as an item in the library it will be saved in Dropbox/Articles/storage or in zotero/storage? I do not want to run into situation where my pdfs are split in two folders - one added by Zotero and the other what I put in dropbox.
I have both Zotero standalone and firefox under Ubuntu 12.04.
What I want is my pdf storage to be Dropbox/Articles and hopefully any new pdf's saved by Zotero to be there as well. Suggestions are welcomed.
Thanks in advance
mronkko's instructions are for keeping all your PDFs in Zotero's storage folder and having them in dropbox at the same time. This will only work if you have all your PDFs in Zotero/storage.
Since one of the cool things about Zotero is that it downloads pdfs together with most articles you import - and saves them in Zotero/storage - most users find it desirable to keep that setting. Mronkko's blog post shows you how to do that while _also_ syncing the files through dropbox in a safe way.
1. You can place a symlink to Zotero/storage into dropbox or
2. You can manually move the storage folder to dropbox and then create a symlink to it in Zotero (which will then again be Zotero/storage)
The two options do exactly the same thing and 1. is easier.
You seem to be under the impression that if you use option 2., any additional files that you have in dropbox would import into Zotero. That's not the case. Anything that you see in Zotero is determined exclusively by the zotero.sqlite, which you aren't touching in this whole process.
I tried following Mronkko's instructions but I can't get it to work:
- I copied the script from his blog: "link_zotero_mac_unix.sh"
- I pasted that into an apple script editor file and saved the file in dropbox as zotpadscript.scpt but I got this syntax error:
"Expected “,” or “]” but found unknown token."
- Anyway, I proceeded to open terminal and typed chmod a+x [/Users/xxxx/Dropbox/zotpadscript.scpt]
but I get this response:
chmod: [/Users/xxxx/Dropbox/zotpadscript.scpt]: No such file or directory Peter-Mac:~ xxx$
Suggestions appreciated.
There is a small technical difference between the 1 and 2 in adamsmith's post, but for all practical purposes they are the same. I cannot think of any valid reason to set the linking into opposite direction.
Or paste the following code to terminal.app:
curl -O https://raw.github.com/mronkko/ZotPad/master/ZotPad/link_zotero_mac_unix.sh
chmod a+x link_zotero_mac_unix.sh
./link_zotero_mac_unix.sh
open .
You will find the link opened in Finder. It looks like an alias. Then rename it like you want and move where you need it (e.g. in Dropbox). You can create many links with the same process if you like.
(edit: move storage symlink - not the script! - duh)