Windows: rename each file an incremented integerLinux rename using parameters and spaces?Windows 7 can not...

Eww, those bytes are gross

How would one buy a used TIE Fighter or X-Wing?

Unwarranted claim of higher degree of accuracy in zircon geochronology

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

What is the wife of a henpecked husband called?

Can you earn endless XP using a Flameskull and its self-revival feature?

Program that converts a number to a letter of the alphabet

What kind of hardware implements Fourier transform?

How did the original light saber work?

Using loops to create tables

How can I improve my fireworks photography?

Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?

How can I deal with a significant flaw I found in my previous supervisor’s paper?

What to do if authors don't respond to my serious concerns about their paper?

Am I a Rude Number?

Manipulating a general length function

Reference on complex cobordism

Why do neural networks need so many training examples to perform?

Can a hotel cancel a confirmed reservation?

Trouble with Impersonal Passive Voice usage

How experienced do I need to be to go on a photography workshop?

integral inequality of length of curve

Everyone is beautiful

Why don't I see the difference between two different files in insert mode in vim?



Windows: rename each file an incremented integer


Linux rename using parameters and spaces?Windows 7 can not rename a file to 'aux.svg': “The specified device name is invalid”Rename file in XP, only select file name, but show file extensionRename sets of files based on sizeRename images so they burn to CD in orderbatch-rename filenames with numbers to sort alphabeticallyCannot rename file with tildeHow to rename files with versions numbers in Windows 10?Windows batch, How to rename a directory to date and time with secondsWindows 10 File Sorting













0















I have a directory of mp3 files, sorted in order of Date created:



newest.mp3
new.mp3
old.mp3
older.mp3
oldest.mp3


I want to rename each file in this directory with a new name including an integer value that increases for each file (starting at the newest file):



newest.mp3 --> new_name_1.mp3
new.mp3 --> new_name_2.mp3
old.mp3 --> new_name_3.mp3
older.mp3 --> new_name_4.mp3
oldest.mp3 --> new_name_5.mp3


How can I do this automatically (without needing to manually rename each file)?









share



























    0















    I have a directory of mp3 files, sorted in order of Date created:



    newest.mp3
    new.mp3
    old.mp3
    older.mp3
    oldest.mp3


    I want to rename each file in this directory with a new name including an integer value that increases for each file (starting at the newest file):



    newest.mp3 --> new_name_1.mp3
    new.mp3 --> new_name_2.mp3
    old.mp3 --> new_name_3.mp3
    older.mp3 --> new_name_4.mp3
    oldest.mp3 --> new_name_5.mp3


    How can I do this automatically (without needing to manually rename each file)?









    share

























      0












      0








      0








      I have a directory of mp3 files, sorted in order of Date created:



      newest.mp3
      new.mp3
      old.mp3
      older.mp3
      oldest.mp3


      I want to rename each file in this directory with a new name including an integer value that increases for each file (starting at the newest file):



      newest.mp3 --> new_name_1.mp3
      new.mp3 --> new_name_2.mp3
      old.mp3 --> new_name_3.mp3
      older.mp3 --> new_name_4.mp3
      oldest.mp3 --> new_name_5.mp3


      How can I do this automatically (without needing to manually rename each file)?









      share














      I have a directory of mp3 files, sorted in order of Date created:



      newest.mp3
      new.mp3
      old.mp3
      older.mp3
      oldest.mp3


      I want to rename each file in this directory with a new name including an integer value that increases for each file (starting at the newest file):



      newest.mp3 --> new_name_1.mp3
      new.mp3 --> new_name_2.mp3
      old.mp3 --> new_name_3.mp3
      older.mp3 --> new_name_4.mp3
      oldest.mp3 --> new_name_5.mp3


      How can I do this automatically (without needing to manually rename each file)?







      windows windows-10 file-management rename filenames





      share












      share










      share



      share










      asked 8 mins ago









      user9506231user9506231

      183




      183






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1410829%2fwindows-rename-each-file-an-incremented-integer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1410829%2fwindows-rename-each-file-an-incremented-integer%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

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...