© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
6 replies
rockhead

CLI photo import and bulk photo delete

I just used the cli tool to bulk import my photos and I noticed hundreds of photos have the current date. I figured out its because the metadata was incorrectly named (not sure why)
i.e. IMG_0044 (2).JPG.json and the file is IMG_0044(2).JPG

I want delete all those photos and start over after I rename them all to remove the space in the file name.

In doing this I also realized I forgot to add the --album flag, so I would like to remove all the photos I just added.

What is the best way to do this?

Thanks
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How do I bulk import using CLI?
ImmichIImmich / help-desk-support
3y ago
Photo and Video Migration/Import
ImmichIImmich / help-desk-support
9mo ago
import google photo
ImmichIImmich / help-desk-support
13mo ago
Bulk upload CLI
ImmichIImmich / help-desk-support
3y ago