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;
}
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
add a comment |
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
add a comment |
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
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
format rename date krusader
asked Feb 9 at 15:23
Adalbert HanßenAdalbert Hanßen
1715
1715
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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!)
Bingo!
"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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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!)
Bingo!
"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
add a comment |
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!)
Bingo!
"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
add a comment |
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!)
Bingo!
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!)
Bingo!
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
add a comment |
"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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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