Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Anyone have a MacOS (unix) shell script to only keep last x Lightroom catalog backups?

Explorer ,
Jan 24, 2025 Jan 24, 2025

I've grown fearful of my LR classic catalog getting corrupted after encountering corruption a few times last year. I don't want to loose anymore work so I'm backing up my catalog after most edit sessions. I have a concern that the growing number of 700mb backups will eat up my local storage.

I'm wondering if anyone might be able to share a unix shell script that runs on MacOS that would keep the most recent x number of backup folders and delete older backup folders?

thanks

mike

TOPICS
macOS
163
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 25, 2025 Jan 25, 2025

I use a very powerful utility called 'Hazel' for this (and many other folder-related tasks). It's not free, but highly recommended. 

 

-- Johan W. Elzenga
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 25, 2025 Jan 25, 2025
LATEST

Thanks Johan, I'll check it out.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines