How Can Krusader Prepend the File Modification Date in ISO 8601 Format to the Original File Name?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















I want to prepend the file modification date in the form YYYY-MM-DD_ to each existing filename (i.e. for files only, not for directories). I have seen that krusader has a multiple file renaming function which in principle allows prepending or appending such information to the existing filename and it can do this for all selected files.



However, since I use it in a Xubuntu 16.04.3 installation with German settings, the file dates are also displayed as DD.MM.YYYY and when I use the renaming function of krusader it also renames them that way.



When I use [modificationdate;yyyy-MM-dd]_ in the part of the dialog specifying to prepend the filename on the second tab of the renaming dialog, it actually uses the modification date but in addition it prepends the current date in the German locale format, e.g.



09-02-20192019-01-04_old filename.jpg


This is complete nonsense, since one does such things to have files sorted by the date expressed in the filename!



How can I suppress the additional placement of today's date (in the example the first 10 characters 09-02-2019)?










share|improve this question





























    3















    I want to prepend the file modification date in the form YYYY-MM-DD_ to each existing filename (i.e. for files only, not for directories). I have seen that krusader has a multiple file renaming function which in principle allows prepending or appending such information to the existing filename and it can do this for all selected files.



    However, since I use it in a Xubuntu 16.04.3 installation with German settings, the file dates are also displayed as DD.MM.YYYY and when I use the renaming function of krusader it also renames them that way.



    When I use [modificationdate;yyyy-MM-dd]_ in the part of the dialog specifying to prepend the filename on the second tab of the renaming dialog, it actually uses the modification date but in addition it prepends the current date in the German locale format, e.g.



    09-02-20192019-01-04_old filename.jpg


    This is complete nonsense, since one does such things to have files sorted by the date expressed in the filename!



    How can I suppress the additional placement of today's date (in the example the first 10 characters 09-02-2019)?










    share|improve this question

























      3












      3








      3








      I want to prepend the file modification date in the form YYYY-MM-DD_ to each existing filename (i.e. for files only, not for directories). I have seen that krusader has a multiple file renaming function which in principle allows prepending or appending such information to the existing filename and it can do this for all selected files.



      However, since I use it in a Xubuntu 16.04.3 installation with German settings, the file dates are also displayed as DD.MM.YYYY and when I use the renaming function of krusader it also renames them that way.



      When I use [modificationdate;yyyy-MM-dd]_ in the part of the dialog specifying to prepend the filename on the second tab of the renaming dialog, it actually uses the modification date but in addition it prepends the current date in the German locale format, e.g.



      09-02-20192019-01-04_old filename.jpg


      This is complete nonsense, since one does such things to have files sorted by the date expressed in the filename!



      How can I suppress the additional placement of today's date (in the example the first 10 characters 09-02-2019)?










      share|improve this question














      I want to prepend the file modification date in the form YYYY-MM-DD_ to each existing filename (i.e. for files only, not for directories). I have seen that krusader has a multiple file renaming function which in principle allows prepending or appending such information to the existing filename and it can do this for all selected files.



      However, since I use it in a Xubuntu 16.04.3 installation with German settings, the file dates are also displayed as DD.MM.YYYY and when I use the renaming function of krusader it also renames them that way.



      When I use [modificationdate;yyyy-MM-dd]_ in the part of the dialog specifying to prepend the filename on the second tab of the renaming dialog, it actually uses the modification date but in addition it prepends the current date in the German locale format, e.g.



      09-02-20192019-01-04_old filename.jpg


      This is complete nonsense, since one does such things to have files sorted by the date expressed in the filename!



      How can I suppress the additional placement of today's date (in the example the first 10 characters 09-02-2019)?







      format rename date krusader






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 9 at 15:23









      Adalbert HanßenAdalbert Hanßen

      1715




      1715






















          1 Answer
          1






          active

          oldest

          votes


















          2














          Just use the first tab advanced mode (in German settings: "Fortgeschrittenen-Modus für Dateiname", strange usage of the German langugage!) of krename's dialog. Just enter



          [modificationdate;yyyy-MM-dd]_$


          (this is case sensitive and the mixed lower- and upper case notation is really strange!)



          krename's dialog to prepend an iso8601-formatted modification date separated from the original filename by an underscore character



          Bingo!






          share|improve this answer
























          • "the mixed lower- and upper case notation is really strange" - Not so strange if you think about how minutes can be included in the format.

            – JimmyB
            Feb 17 at 16:15












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116951%2fhow-can-krusader-prepend-the-file-modification-date-in-iso-8601-format-to-the-or%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          Just use the first tab advanced mode (in German settings: "Fortgeschrittenen-Modus für Dateiname", strange usage of the German langugage!) of krename's dialog. Just enter



          [modificationdate;yyyy-MM-dd]_$


          (this is case sensitive and the mixed lower- and upper case notation is really strange!)



          krename's dialog to prepend an iso8601-formatted modification date separated from the original filename by an underscore character



          Bingo!






          share|improve this answer
























          • "the mixed lower- and upper case notation is really strange" - Not so strange if you think about how minutes can be included in the format.

            – JimmyB
            Feb 17 at 16:15
















          2














          Just use the first tab advanced mode (in German settings: "Fortgeschrittenen-Modus für Dateiname", strange usage of the German langugage!) of krename's dialog. Just enter



          [modificationdate;yyyy-MM-dd]_$


          (this is case sensitive and the mixed lower- and upper case notation is really strange!)



          krename's dialog to prepend an iso8601-formatted modification date separated from the original filename by an underscore character



          Bingo!






          share|improve this answer
























          • "the mixed lower- and upper case notation is really strange" - Not so strange if you think about how minutes can be included in the format.

            – JimmyB
            Feb 17 at 16:15














          2












          2








          2







          Just use the first tab advanced mode (in German settings: "Fortgeschrittenen-Modus für Dateiname", strange usage of the German langugage!) of krename's dialog. Just enter



          [modificationdate;yyyy-MM-dd]_$


          (this is case sensitive and the mixed lower- and upper case notation is really strange!)



          krename's dialog to prepend an iso8601-formatted modification date separated from the original filename by an underscore character



          Bingo!






          share|improve this answer













          Just use the first tab advanced mode (in German settings: "Fortgeschrittenen-Modus für Dateiname", strange usage of the German langugage!) of krename's dialog. Just enter



          [modificationdate;yyyy-MM-dd]_$


          (this is case sensitive and the mixed lower- and upper case notation is really strange!)



          krename's dialog to prepend an iso8601-formatted modification date separated from the original filename by an underscore character



          Bingo!







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 9 at 15:44









          Adalbert HanßenAdalbert Hanßen

          1715




          1715













          • "the mixed lower- and upper case notation is really strange" - Not so strange if you think about how minutes can be included in the format.

            – JimmyB
            Feb 17 at 16:15



















          • "the mixed lower- and upper case notation is really strange" - Not so strange if you think about how minutes can be included in the format.

            – JimmyB
            Feb 17 at 16:15

















          "the mixed lower- and upper case notation is really strange" - Not so strange if you think about how minutes can be included in the format.

          – JimmyB
          Feb 17 at 16:15





          "the mixed lower- and upper case notation is really strange" - Not so strange if you think about how minutes can be included in the format.

          – JimmyB
          Feb 17 at 16:15


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116951%2fhow-can-krusader-prepend-the-file-modification-date-in-iso-8601-format-to-the-or%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          張江高科駅