<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Edit file but keeping modified date]]></title><description><![CDATA[<p dir="auto">Sometimes,<br />
I need to keep modified date of file, but<br />
I want to add additional information, example<br />
about any meeting, I try remember ideas<br />
to include in the existent file.</p>
<p dir="auto"><strong>New Feature:</strong></p>
<p dir="auto"><strong>Menu:</strong><br />
<strong>File &gt; Save keeping modified date</strong></p>
<p dir="auto">thanks in advance!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21466/edit-file-but-keeping-modified-date</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 08:03:48 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21466.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Jul 2021 04:08:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Edit file but keeping modified date on Fri, 16 Jul 2021 06:18:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/22510">@Rodrigo-Hernandez-0</a> said in <a href="/post/67831">Edit file but keeping modified date</a>:</p>
<blockquote>
<p dir="auto">I usually view files as historical records of my notes, meetings, etc.</p>
</blockquote>
<p dir="auto">I could only suggest sorting by “modified time” or adding a date to the file name.<br />
That would be much easier, as for me.<br />
<img src="/assets/uploads/files/1626416297542-0feaa20a-df73-40db-803e-498abaf00187-image.png" alt="0feaa20a-df73-40db-803e-498abaf00187-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/67964</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/67964</guid><dc:creator><![CDATA[mere-human]]></dc:creator><pubDate>Fri, 16 Jul 2021 06:18:18 GMT</pubDate></item><item><title><![CDATA[Reply to Edit file but keeping modified date on Mon, 12 Jul 2021 22:59:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20844">@mere-human</a><br />
I usually view files as historical records of my notes, meetings, etc.<br />
maybe interesting this new feature or new plugin</p>
<p dir="auto">In a simple idea: improve the productivity</p>
<p dir="auto">thanks in advance.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/67831</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/67831</guid><dc:creator><![CDATA[Rodrigo Hernandez 0]]></dc:creator><pubDate>Mon, 12 Jul 2021 22:59:33 GMT</pubDate></item><item><title><![CDATA[Reply to Edit file but keeping modified date on Mon, 12 Jul 2021 20:50:25 GMT]]></title><description><![CDATA[<p dir="auto">I usually use Double Commander for such task. It has a feature to modify file attributes.<br />
<img src="/assets/uploads/files/1626122917561-aa820463-c078-4131-8f79-05b229881623-image.png" alt="aa820463-c078-4131-8f79-05b229881623-image.png" class=" img-fluid img-markdown" /><br />
But honestly, I rarely need it. The only case for me was when I had some old photos from camera with the wrong date. So I had to set the right date manually.</p>
<p dir="auto">Why do you need such feature? Do you want to sort by date?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/67825</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/67825</guid><dc:creator><![CDATA[mere-human]]></dc:creator><pubDate>Mon, 12 Jul 2021 20:50:25 GMT</pubDate></item><item><title><![CDATA[Reply to Edit file but keeping modified date on Mon, 12 Jul 2021 19:54:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/22510">@Rodrigo-Hernandez-0</a> ,</p>
<p dir="auto">I didn’t say it wasn’t useful.  I just said it’s not the way that Windows works by default</p>
<p dir="auto">Changing the filesystem’s last-modified date is not something that Notepad++ does, or should be expected to do; Notepad++ just asks the operating system (OS) to save the file to the filesystem, and the OS takes care of adding the last-modified timestamp to the filesystem metadata for that file when the modification is over.  Notepad++ doesn’t edit filesystem metadata, and leaves it up to the OS to properly handle filestamps.  Asking Notepad++ to edit last-modified time from reality to a made-up value is asking it to be something other than a text editor.</p>
<p dir="auto">There are external tools that can change the last-modified date, akin to linux’s <code>touch</code> command … in fact, if you search for “windows touch command”, you can find a port of <code>touch</code> compiled as <code>touch.exe</code> (for example <a href="http://gnuwin32.sourceforge.net/packages/coreutils.htm" rel="nofollow ugc">here</a>, though that’s a pretty old version).  If you need help with <code>touch.exe</code> or other similar utilities designed specifically for Windows OS, you will have to find support elsewhere, because those aren’t what Notepad++ does.</p>
<p dir="auto">Once you have such an external utility working, you could use Notepad++'s Run menu to run it, and even save it as a command that you could apply a keyboard shortcut to… but Notepad++ itself isn’t going to have the code to change the last-modified time.  Or you could use a scripting plugin like the NppExec or PythonScript to make a really fancy wrapper that will ask you for the “fake” time and then run the external utility to set the “last modified” time.  Or a scripting plugin could also be used to grab the existing last-modified time, then tell Notepad++ to save, then use the external utility to change the last-modified time to the grabbed value instead of the real value.</p>
<p dir="auto">But, really, if you want to be able to easily order files by some “fixed” time, that doesn’t get changed by modifying the file, then just put a yyyymmddhhmmss timestamp as the prefix to the filename, and sort by filename, and don’t try to mess with filesystem/os timestamps.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/67820</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/67820</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 12 Jul 2021 19:54:16 GMT</pubDate></item><item><title><![CDATA[Reply to Edit file but keeping modified date on Mon, 12 Jul 2021 19:09:43 GMT]]></title><description><![CDATA[<p dir="auto">The idea is useful, when is simplify the task additional: modifiying date manually after save the edited file.<br />
For me is useful when you have a big list of files ordered by modified date,<br />
to keep ordered list.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/67819</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/67819</guid><dc:creator><![CDATA[Rodrigo Hernandez 0]]></dc:creator><pubDate>Mon, 12 Jul 2021 19:09:43 GMT</pubDate></item><item><title><![CDATA[Reply to Edit file but keeping modified date on Mon, 12 Jul 2021 13:07:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/22510">@Rodrigo-Hernandez-0</a> said in <a href="/post/67800">Edit file but keeping modified date</a>:</p>
<blockquote>
<p dir="auto">I need to keep modified date of file, but<br />
I want to add additional information, example</p>
</blockquote>
<p dir="auto">That’s not the way Windows NTFS (the filesystem favored by Windows OS) works – nor any of the unix/linux filesystems I’ve used.</p>
<p dir="auto">“Last Modified”, to the OS, means the date and time that the file was most recently changed.  Adding additional information inside the file is, by definition, modifying the file, so the last-modified date is changed.  The last-modified attribute is controlled by the OS, <em>not</em> by the individual applications that are asking for the file contents to be saved.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/67806</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/67806</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 12 Jul 2021 13:07:17 GMT</pubDate></item></channel></rss>