ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Batch rename to remove additional .EXTENSION

    IT Discussion
    3
    5
    383
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G I JonesG
      G I Jones
      last edited by G I Jones

      I'm trying to remove an additional extension from a batch of files using command line.

      When using command line to remove the additional .jpg extension on Document.zip.jpg as so:

      ren *.zip.jpg *.zip
      

      It actually just makes the file type a .zip, so the actual name would be Document.zip.jpg with a file type of .zip

      I'm looking for a way to instead REMOVE the .jpg part of the name altogether.

      I'm really not great at command line save a few select commands that I use regularly. Is there a way to achieve this or do I need to move on to Powershell?

      G I JonesG 1 Reply Last reply Reply Quote 0
      • Emad RE
        Emad R
        last edited by

        https://www.den4b.com/products/renamer

        DustinB3403D 1 Reply Last reply Reply Quote -1
        • DustinB3403D
          DustinB3403 @Emad R
          last edited by

          @Emad-R chrome_Cy8NWP0uvC.png

          So I don't think that'll do what he wants while being free.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by DustinB3403

            Use powershell Rename-Item

            1 Reply Last reply Reply Quote 0
            • G I JonesG
              G I Jones @G I Jones
              last edited by G I Jones

              I figured it out!

              ren *.zip.jpg *.
              
              
              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post