I'd like to copy the thumbnails for all _publicly_viewable_ images to another directory from my albums, however I'm having some trouble determining a picture's hidden attribute. I know the "hidden";"N" portion of the serialized photos.dat file holds the answer but I can't find a nice automated way to extract that information from the file.
I tried using Perl's serialize.pm, however that didn't seem to like unserialize()'ing photos.dat, and I'd like to stay away from a barrage of Perl regular expressions.
Does anyone know a way I can easily determine a pictures hidden attribute and pass it to my external Perl (or shell or whatever) script?
Apologies if an answer to this was buried in another thread, I searched but couldn't find it!
Thanks in advance.
Posts: 3474
Well, to make sense of the .dat files, you can use:
php-deserialize.pl
It'll be up to you to grep out the necessary lines.
-Beckett (
)