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

Preserve original filename #40

Open
pcrutchl opened this issue Nov 18, 2011 · 1 comment
Open

Preserve original filename #40

pcrutchl opened this issue Nov 18, 2011 · 1 comment

Comments

@pcrutchl
Copy link

It seems like considering the application, an option to protect the original filename would be valuable. At this point, I don't see a way to copy the file to another folder and rename it, but leave the original file alone.

Using %(original filename)s I was able to move the file to the new destination with the original filename, but it renamed the file in the original destination. Is there a way to reverse this in the JSON file?

@dbr
Copy link
Owner

dbr commented Nov 21, 2011

The current code is a bit crappy in this respect, because I added the file-moving as an afterthought - it really needs refactored..

It should parse the file, calculate the new filepath, then either rename, move or copy the file to the new path. Currently it just renames, then moves, in two largely unrelated chunks of code

Is there a way to reverse this in the JSON file?

Not that I'm aware of :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants