0

I need to find the largest video files, because my videos takes a lot of space

enter image description here

but I dont know how to do this:

enter image description here

It seems to not to be there any option for filtering by size

  • This won't really solve your problem, so I'm not posting this as an answer, but you are right: Photos.app lacks this feature (and many others that would be needed to make it a proper photo database). Since your images are stored in a library-type database which has different file names in it than you'd see in your collection , you can't even do what you need using Terminal or Finder. Suggestion: Go by intuition now (drop longest / highest quality videos first) and switch to a better tool. – jstarek Sep 29 at 12:06
0

As you surmised and @jstarek noted in their comment, the Photos app does not have a simple feature to sort by size. So there’s no easy way to answer your question, but here’s what I would do in your case.

The images are kept in a database with an underlying file structure that uses program generated unique names for the files. But, with a bit of work, it is possible to see the files in Finder, sort by size and correlate them to the photos app to delete them. The images are contained in a “package” file usually named “Photos Library.photoslibrary” in your Pictures folder. To find it, open the Photos app and check under Photos->Preferences for the Library location and click “Show in Finder”. Now control-click on the file and select “Show Package Contents” from the pop-up menu. The package is really just a folder with subfolders as usual. Open the “originals” folder and you will see a list of subfolders with names like 0, 1, 2, etc. - these contain the image files. Set finder to view by columns, open one of the numbered subfolders and click the Size column heading to sort by file size. The files all have unique IDs for names, but you can still double-click these files to open them with their default viewer and play the video.

enter image description here

The Photos app keeps a thumbnail image for each of these with a link to the file in its database. Now you have two choices: go back to the Photos app and browse for the video that you found and delete it, or keep the Photos app closed and simply move the file to the trash. The first way is more work, but safe since you won’t be temporarily corrupting the library. If you do the latter, the Photos app will still have the thumbnail image, but the link to the original file will be broken when you select the thumbnail. You can then delete the thumbnail from Photos.

So, it’s a bit of work and might be a little scary, but maybe you’ll find it useful.

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .