Hi.
Is it possible to preserve the file modification date even after changes were made?
Really hope that the answer is yes.
But how do I achieve that?
Thank you.
Preserve File Modification Date
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Re: Preserve File Modification Date
Do you mean that you want to modify some files without changing their modification times?
Why would you want to do that?
If there is a good reason for it you might:
Why would you want to do that?
If there is a good reason for it you might:
- record the files' modification times (perhaps using DIR on the Windows command line);
- modify the files;
- change the modification times back to the saved modification times (perhaps using a version of linux touch or Powershell LastWriteTime on the Windows command line).
Re: Preserve File Modification Date
I have the exact same feature wish. It is not uncommon for "search and replace" tools to have such an option.
One scenario where I would use this, is when some boilerplate text in source code headers (comments) needs to be updated, and touching the last modified date would result in a loss of information (you can no longer see at a glance when a "real" change was made, sort by date to look up a recent change, etc.)
Yes, there are workarounds, but it still would be nice to have this option in WildEdit.
One scenario where I would use this, is when some boilerplate text in source code headers (comments) needs to be updated, and touching the last modified date would result in a loss of information (you can no longer see at a glance when a "real" change was made, sort by date to look up a recent change, etc.)
Yes, there are workarounds, but it still would be nice to have this option in WildEdit.