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
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
4 Replies
FYI, the cli doesn't read Google takeout json - you'll need to fix up your files with another tool first.
The easiest way to bulk delete atm is probably just to reset your entire instance and start from scratch
ok thanks
is there already a tool to fix up the files?
There's some good discussion here on the different tools https://github.com/immich-app/immich/discussions/1340
GitHub
gphotos import + albums migration · immich-app/immich · Discussion ...
gphotos import + albums With this guide, you STILL have to add images that are in multiple albums manually (except for the first instance of that image, so hopefully this isn’t too many) can get al...
cool thanks!