I put together this little toy as a quick code sample for a company I might interview with in NYC. Still hoping for a nice, interesting neuropsych job somewhere, but a Plan B is a good idea.
What does it do?
- It'll slurp a directory of files into a database, optionally thumbnailing all the images along the way using ImageMagick.
- It then will either let you pull it back out onto the filesystem somewhere else, or will drop it off into a tarball for you.
It probably has a few bugs and there are some things I probably would change were I to refactor it, but I think it's a reasonable code sample and has some good things for any other perl geeks to grab and reuse.
Available 「here」.