Re: [Bibdesk-users] Autofiling question
On Jan 7, 2013, at 7:32 AM, Christiaan Hofman cmhof...@gmail.com wrote: On Jan 7, 2013, at 3:28, Dr. Adam M. Goldstein PhD MSLIS wrote: On Dec 11, 2012, at 5:17 AM, Christiaan Hofman cmhof...@gmail.com wrote: I followed the steps above, or at least, tried my best. It didn't work. The papers remained linked to the directory called Papers-1 wherever I moved it. In the above I assumed they were linked in the (old) Papers. Not some other place like Papers-1. If they link there, they won't be relinked to some old location, and there's no way to tell them to. So you need to move the folder where they are linked to back to the (old) location first. Or you start the whole thing from Papers-1. This, even after I deleted the preferences file, selected and re-selected Papers. Preferences, again, are completely irrelevant for this. that is *only* for auto-filing (looking up is not filing). I created a disk image and put the Papers-1 directory on it, and then ejected it, so it could no longer be found. Now none of the PDF's will link to any folder, including Papers-1, no matter where I move it. Putting papers on an external volume is dangerous. You cannot just move them there from outside BibDesk, because then BibDesk will loose them. This is because the files won't be moved, but rather they're copied (you can't move between disks, only copy). And then both the file identity and the (absolute and relative) path changes, which means all links are severed. The only way you can do this is if you move *both* the files and the .bib file at the same time (with BibDesk not opening the .bib file), so that the relative paths remain the same. It is not completely clear where your setup stands at this point. I hope you have a backup (that works), otherwise you may not be able to get the links back. HTH Unfortunately, I think I have mangled things so badly that I am going to have to reattach all the files by hand. I will take a look at the Applescripting possibilities. The PDF's are named using the cite keys as a basis, so it will be pretty easy to connect the PDF with the record. I suppose I couldn't just leave well enough alone! -- Adam M. Goldstein PhD, MSLIS -- z_california...@shiftingbalance.org http://www.shiftingbalance.org http://www.twitter.com/z_californianus -- http://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSNsearch_value=180621 -- Associate Editor Reviews Editor Evolution: Education Outreach http://www.springer.com/life+sci/journal/12052 http://www.twitter.com/EEOblogger -- Spellman 205 (914) 637-2717 (msg) -- Dept of Philosophy Iona College 715 North Avenue New Rochelle NY 10801 http://www.iona.edu/faculty/agoldstein -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712___ Bibdesk-users mailing list Bibdesk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-users
Re: [Bibdesk-users] Autofiling question
On Jan 7, 2013, at 3:28, Dr. Adam M. Goldstein PhD MSLIS wrote: On Dec 11, 2012, at 5:17 AM, Christiaan Hofman cmhof...@gmail.com wrote: This is not consistent. Are the linked files pointing to Papers or Papers-old? And what happens with your .bib file? Is it on the volume where the old Papers folder is, and where the Papers-WC will be? Is it also in the repository, or outside it? If it is in the repository, than things should just work, because the relative path will always be the same. Otherwise, you have to make sure that the relative path between the .bib file and the papers will remain the same. So starting from a .bib file somewhere else on the same volume, this is how it could work. 0. Records are linked to files in Papers 1. Make sure the .bib database is closed and saved 2. Papers directory is imported in the repository 3. Old Papers directory is removed (moved) 4. Create a new working copy (checkout) in the old location Papers 5. Open the .bib database 6. The records should be linked to the new working copy in the old location, as the relative path is the same 7. Make sure you save the .bib database to refresh the saved aliases (file IDs) 8. If you want to put the WC somewhere else, you could *now* (after saving and closing) move the Papers to Papers-WC 9. Then open the .bib database again, check the links are OK, and save it again Christiaan I followed the steps above, or at least, tried my best. It didn't work. The papers remained linked to the directory called Papers-1 wherever I moved it. In the above I assumed they were linked in the (old) Papers. Not some other place like Papers-1. If they link there, they won't be relinked to some old location, and there's no way to tell them to. So you need to move the folder where they are linked to back to the (old) location first. Or you start the whole thing from Papers-1. This, even after I deleted the preferences file, selected and re-selected Papers. Preferences, again, are completely irrelevant for this. that is *only* for auto-filing (looking up is not filing). I created a disk image and put the Papers-1 directory on it, and then ejected it, so it could no longer be found. Now none of the PDF's will link to any folder, including Papers-1, no matter where I move it. Putting papers on an external volume is dangerous. You cannot just move them there from outside BibDesk, because then BibDesk will loose them. This is because the files won't be moved, but rather they're copied (you can't move between disks, only copy). And then both the file identity and the (absolute and relative) path changes, which means all links are severed. The only way you can do this is if you move *both* the files and the .bib file at the same time (with BibDesk not opening the .bib file), so that the relative paths remain the same. Any suggestions would be helpful! -- Adam M. Goldstein PhD, MSLIS -- It is not completely clear where your setup stands at this point. I hope you have a backup (that works), otherwise you may not be able to get the links back. HTH Christiaan -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ Bibdesk-users mailing list Bibdesk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-users
Re: [Bibdesk-users] Autofiling question
On Dec 11, 2012, at 0:04, Dr. Adam M. Goldstein PhD MSLIS wrote: Hi all I just uploaded my Papers directory to an svn repository. I have the autofile preference set to put papers there. (To be precise, it's ~/Documents/Papers.) Autofile has absolutely nothing to do with how linked files are found. These preference only affect where autofiling will put the papers. Now I would like to create a working copy of the directory, and have the records in my bibliography point to the papers in the repository. I am not sure how to do this and I don't want to unlink all of my PDF's :) Where do they point to now? I moved the Papers directory that was uploaded to the repository to Papers-old, and then created a working copy called Papers. I figured that the references in the records would point to the files in the working-copy-Papers directory, which is identical to the initial directory. What do you mean by identical? But the records all point to the files in Papers-old. Not what I want. It may depend on whether you had the .bib file open how it behaves. When the database is open, it will try to follow the linked files as they are moved. If the .bib file was closed, then after opening it will try to resolve the linked files by relative path first, and then by alias. I had the thought of selecting all of the records with attached files and telling BibDesk to autofile them, but that ended up moving the linked files into the new directory. I think a new file name was generated as well for the moved file so as not to have the same one as the file already there. I thought it would re-lilnk to the files in in the working-copy-Papers directory. Different files are different files. Why would it re-link to different files? Autofile moves files to a unique location, unless it's already there. You really have to be careful to distinguish between file objects and file names. If you replace a file at some path, you get a different file object. If you rename a file, you have the same file object. You are not particularly clear about whether you are talking about paths or file objects in various places, so you have to be more precise. Christiaan OK, I don't know if people can follows this. If so, any help would be appreciated. -- Adam M. Goldstein PhD, MSLIS -- z_california...@shiftingbalance.org http://www.shiftingbalance.org http://www.twitter.com/z_californianus -- http://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSNsearch_value=180621 -- Associate Editor Reviews Editor Evolution: Education Outreach http://www.springer.com/life+sci/journal/12052 http://www.twitter.com/EEOblogger -- Spellman 205 (914) 637-2717 (msg) -- Dept of Philosophy Iona College 715 North Avenue New Rochelle NY 10801 http://www.iona.edu/faculty/agoldstein -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ Bibdesk-users mailing list Bibdesk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-users
Re: [Bibdesk-users] Autofiling question
On Dec 10, 2012, at 7:17 PM, Christiaan Hofman cmhof...@gmail.com wrote: On Dec 11, 2012, at 0:04, Dr. Adam M. Goldstein PhD MSLIS wrote: Now I would like to create a working copy of the directory, and have the records in my bibliography point to the papers in the repository. I am not sure how to do this and I don't want to unlink all of my PDF's :) Where do they point to now? To a folder I named Papers-old I moved the Papers directory that was uploaded to the repository to Papers-old, and then created a working copy called Papers. I figured that the references in the records would point to the files in the working-copy-Papers directory, which is identical to the initial directory. What do you mean by identical? All and only files with the same names as the initial directory. But the records all point to the files in Papers-old. Not what I want. It may depend on whether you had the .bib file open how it behaves. When the database is open, it will try to follow the linked files as they are moved. If the .bib file was closed, then after opening it will try to resolve the linked files by relative path first, and then by alias. I had the thought of selecting all of the records with attached files and telling BibDesk to autofile them, but that ended up moving the linked files into the new directory. I think a new file name was generated as well for the moved file so as not to have the same one as the file already there. I thought it would re-lilnk to the files in in the working-copy-Papers directory. Different files are different files. Why would it re-link to different files? Autofile moves files to a unique location, unless it's already there. I thought it would just look for files with the same names, in the directory autofile was set to when they were filed. But, as you suggest, those files are not the same as those the records originally pointed to. So, I think this describes what I want to do. 0. Records are linked to files in Papers. 1. The Papers directory is committed (imported) into the repository. 2. A new directory called Papers-WC is created by checking out the Papers directory. It has all and only files in the Papers directory. 3. Records point to the files in Papers-WC. I hope this is more precise…any ideas? -- Adam M. Goldstein PhD, MSLIS -- z_california...@shiftingbalance.org http://www.shiftingbalance.org http://www.twitter.com/z_californianus -- http://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSNsearch_value=180621 -- Associate Editor Reviews Editor Evolution: Education Outreach http://www.springer.com/life+sci/journal/12052 http://www.twitter.com/EEOblogger -- Spellman 205 (914) 637-2717 (msg) -- Dept of Philosophy Iona College 715 North Avenue New Rochelle NY 10801 http://www.iona.edu/faculty/agoldstein -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ Bibdesk-users mailing list Bibdesk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-users