# Setting default directories for moving/renaming linked files from two computers to shared folder

**URL:** <https://discourse.jabref.org/t/setting-default-directories-for-moving-renaming-linked-files-from-two-computers-to-shared-folder/485>\
**Category:** Help\
**Created:** [March 2, 2017, 7:46pm UTC](https://discourse.jabref.org/t/setting-default-directories-for-moving-renaming-linked-files-from-two-computers-to-shared-folder/485 "2017-03-02T19:46:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eeenilsson](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@eeenilsson](https://discourse.jabref.org/u/eeenilsson)\
**Post date:** [March 2, 2017, 7:46pm UTC](https://discourse.jabref.org/t/setting-default-directories-for-moving-renaming-linked-files-from-two-computers-to-shared-folder/485/1 "2017-03-02T19:46:08Z")

</div>

Trying to set up JabRef using Dropbox as a central pdf + bib repository for access from two different computers (one Linux, one Windows).

The default directories can be set in different places as follows:

1. Options \> preferences “_Main_ file directory” can be set
2. Options \> preferences bib file location can be used as “_primary_ file directory”.
3. File \> database properties \> _General_ file directory.
4. File \> database properties \> _User-specific_ file directory

Can these be specified in a way so that Clean \> move linked files works on both computers (putting the linked files on a shared dropbox folder)?

Ideally, I would just tick 2. but It seems that 1 or 2 is not sufficient - the tickbox for moving linked files is grayed out unless 3 is filled in and this creates a problem since the file paths are different on the two machines.

---

<div class="post-metadata">

**Author:** ![eeenilsson](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@eeenilsson](https://discourse.jabref.org/u/eeenilsson)\
**Post date:** [March 2, 2017, 8:29pm UTC](https://discourse.jabref.org/t/setting-default-directories-for-moving-renaming-linked-files-from-two-computers-to-shared-folder/485/2 "2017-03-02T20:29:45Z")

</div>

Found a similar problem and workaround here (just ignoring the move files checkbo and selecting rename files only):

[https://www.bountysource.com/issues/40839095-move-linked-files-moves-files-in-app-directory-when-set-to-bib-directory](https://www.bountysource.com/issues/40839095-move-linked-files-moves-files-in-app-directory-when-set-to-bib-directory)

---

<div class="post-metadata">

**Author:** ![eeenilsson](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@eeenilsson](https://discourse.jabref.org/u/eeenilsson)\
**Post date:** [March 2, 2017, 8:30pm UTC](https://discourse.jabref.org/t/setting-default-directories-for-moving-renaming-linked-files-from-two-computers-to-shared-folder/485/3 "2017-03-02T20:30:18Z")

</div>

Link: [https://www.bountysource.com/issues/40839095-move-linked-files-moves-files-in-app-directory-when-set-to-bib-directory](https://www.bountysource.com/issues/40839095-move-linked-files-moves-files-in-app-directory-when-set-to-bib-directory)

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [March 3, 2017, 4:18pm UTC](https://discourse.jabref.org/t/setting-default-directories-for-moving-renaming-linked-files-from-two-computers-to-shared-folder/485/4 "2017-03-03T16:18:11Z")

</div>

Hi,

We think, that is already fixed in our development version and consequently the change will be included in the next release.

We would like to ask you to use a development build from [https://builds.jabref.org/master](https://builds.jabref.org/master) and report back if it works for you.

I fixed a lot of issues regarding renaming and moving files. The problem with not moving files to bib file location should be fixed, too.

Regards  
Christoph

---

<div class="post-metadata">

**Author:** ![eeenilsson](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@eeenilsson](https://discourse.jabref.org/u/eeenilsson)\
**Post date:** [March 3, 2017, 8:25pm UTC](https://discourse.jabref.org/t/setting-default-directories-for-moving-renaming-linked-files-from-two-computers-to-shared-folder/485/5 "2017-03-03T20:25:00Z")

</div>

Thanks for the response! Would be happy to try the dev version, but could not get the .jar to run (Error: Could not find or load main class org.jabref.JabRefMain) and dont have access to the windows machine right now.

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [March 4, 2017, 5:21pm UTC](https://discourse.jabref.org/t/setting-default-directories-for-moving-renaming-linked-files-from-two-computers-to-shared-folder/485/6 "2017-03-04T17:21:28Z")

</div>

@eeenilsson  
Hi,

this is probably due to the fact that you have openjkd 8 installed. As we are now switching to new GUI JavaFX you need the addtional package “openjfx” to be installed.  
Alternatively, (we recommend it) you need to switch to the latest oracle java 8 sdk/jre

Best regards  
Chistoph
