4 Replies Latest reply on Sep 20, 2016 1:17 PM by johnrellis

    How to SHORTEN filename?

    mlondon88 Level 1

      Hi,  Longtime Aperture user here, finally made the switch to Lightroom CC. Mostly goodness, but have a problem with filenames.


      Due to my own oversight, I managed to import a few thousand images with additional information at the head of the filename. I see there is a batch rename option in LR, but it only allows me to add to the name, not remove characters. I understand that if I rename the files in the finder, then I will break the connection with LR.


      The only solution I could think of would be to turn on "Automatically Write Changes to XMP" in the catalog settings, then batch EXPORT all the originals, then rename the originals and the XMP files in the finder, then reimport them back to LR.


      Would rather avoid this if possible. Is there a simpler solution?


      Thank you,


        • 1. Re: How to SHORTEN filename?
          dj_paige Level 9

          I doubt there is a simpler solution, and I am also mystified as to why you want to do all this work in the first place. There's no problem at all with long file names, unless you bump up against the operating system limit for characters in the path/name.


          By the way, writing metadata to XMP only writes some of the catalog information to XMP files. There are items in the Catalog that are never written to XMP, and cannot be transferred this way. A partial list:

          • collection membership
          • edit history
          • pick flags
          • virtual copies
          • 2. Re: How to SHORTEN filename?
            mlondon88 Level 1


            I am also mystified as to why you want to do all this work in the first place


            Its not that they are too long, it is that there are character/numbers at the beginning which are messing up my naming scheme. I like to keep my file names consistent!


            Good to know about the XMP metadata.

            Thank you...

            • 3. Re: How to SHORTEN filename?
              dj_paige Level 9

              Without knowing the reasons behind your file names, which are important to this discussion, let me say that the whole idea of organizing by file naming schemes is not the way Lightroom was designed — yes, you could continue to use Lightroom with that naming scheme inside of Lightroom, but as you have noticed, there's not an easy way to do this. The better scheme of organizing inside of Lightroom is to use keywords and other metadata as your organizing/search scheme rather than using file names.


              Also, since I don't know how much work you have done in Lightroom so far, you could extract the photos from Aperture again and import the photos into a new LR catalog (which cause you to lose edits and other user-supplied metadata, definitely a drawback) without performing the rename. I suppose it's a tradeoff between the advantages and disadvantages of each path forward.

              • 4. Re: How to SHORTEN filename?
                johnrellis Most Valuable Participant

                If the characters at the head of the filenames are identical, you could use the Search Replace Transfer plugin to remove them: Complex file renaming in Lightroom made simple – thanks to the Search and Replace plug-in – Lightroom Solutions