jeffalo @jeffalo

somehow accidentally deleted all my photos in photobooth so spent the last half hour figuring out how to undo that. i ended up having to write code that rebuilds an xml manifest of all the filenames because ???

a regular user would’ve given up.

Feb 2, 2024, 7:56 PM
8

comments

why not just use the directory listing like listdir() in python

common apple L

either that or take the path of the file and trim off the path before the filename, either way works

(idk how to do file handling and path shit in swift, im not a(n) cop iOS developer)

You should be able to look in the trash bin on macOS to find them (unless you empty the trash). I just tested and it works

Yes, photos deleted in Photo Booth are sent to Trash once the app is closed

yup, and then to reimport them into photo booth

pros of being a programmer

sigma male shit