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 modified date of files #545

Open
HektorStG opened this issue Apr 27, 2023 · 2 comments
Open

Preserve modified date of files #545

HektorStG opened this issue Apr 27, 2023 · 2 comments

Comments

@HektorStG
Copy link

Hello,

Created files are stamped with the current date.

Is it possible to have an option that proposes to preserve or not the modified date of the source file for created files.
In the case of a list of files (merge tool, ...) the option could be to apply the modified date of the first file in the source files list, or of one file number in list.

Many thanks for the work.
Hektor

@torakiki
Copy link
Owner

Hi,
I'm not sure if it's doable, I have to investigate but first of all what is the use case? The output file is an actual new file, it seems normal to have a different creation date

@HektorStG
Copy link
Author

Hello,

In my case, I can use this fonctionality in archiving files.

Many times, it can be useful to extract some important pages of one doc, or to merge docs received by mail, and for filtering and searching questions it could be useful to have the modified date preserved.
In this case, the "new" created files are closely related to source files, and it make sense to apply the same modified date.

For example, for this purpose, I wrote a personal add-on for Thunderbird, and I used a function named "setModificationTime" (javascript) to set a specific modification date to exported attachment files.

It is just a suggestion, but maybe it could be useful.

Regards.
Hektor

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