Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup rename according to format moves the files since 3.8 #2526

Closed
napseis opened this issue Feb 7, 2017 · 7 comments
Closed

cleanup rename according to format moves the files since 3.8 #2526

napseis opened this issue Feb 7, 2017 · 7 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs
Milestone

Comments

@napseis
Copy link

napseis commented Feb 7, 2017

hi,
Since JabRef 3.8, I have a problem renaming files: they are move from their directories.

My folder structure is like this:
-> Base directory

  • mydatabase.bib
    ->papers
    -> A (folder)
    - list of pdf files...
    -> B(folder)
    - list of pdf files...
    etc....
    -> books(folder)

Description and steps:
1- Select entries, and then click on Cleanup.
2- Tick "rename pdf according to filename format pattern" (relative or not makes no difference)

3- I expect, as with previous version, that the file will be renamed but will stay in its directory
But now, it it renamed and moved to the same location as my bib file.

Is this normal?

Thanks

@koppor koppor added the bug Confirmed bugs or reports that are very likely to be bugs label Feb 7, 2017
@koppor
Copy link
Member

koppor commented Feb 7, 2017

No. I also saw this, but I did not recall if it was always like this. Thank you for pointing out the version since this appears.

@napseis
Copy link
Author

napseis commented Feb 7, 2017

hi. Until 3.7 it was ok.
Versions 3.8.1 and 3.8.2 both has this bug

@Siedlerchr
Copy link
Member

Yeah that is really weird. I will look if I can add a setting for not moving the files in my PR #2415

@stefan-kolb stefan-kolb added this to the v4.0 milestone Feb 8, 2017
@Siedlerchr
Copy link
Member

@napseis I now splitted the logic of the Cleanup actions a bit: Rename Files now only renames files and move files cleanup now only moves the file.
If you want to rename + move to default file dir then just check both cleanup action
You can test the version here: http://builds.jabref.org/moveFileDir/

There is only still a problem with the file directory pattern, which I need to find a solution for (it would create a new subdirectory each time)

@lenhard
Copy link
Member

lenhard commented Mar 3, 2017

We think this is fixed in current master, hence I am closing the issue.

Feel free to reopen if the problem reappears.

@lenhard lenhard closed this as completed Mar 3, 2017
@napseis
Copy link
Author

napseis commented Jun 18, 2017

hello,
Is it included in 3.8.2 available for download ? Because I have the problem.
thanks

@Siedlerchr
Copy link
Member

Siedlerchr commented Jun 18, 2017

Hi, no, it is included in the 4.0.0 version. I recommend trying the latest 4.0.0 snapshot
Please be aware that the new version is still beta.
http://builds.jabref.org/master/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs
Projects
None yet
Development

No branches or pull requests

5 participants