?

Log in

No account? Create an account
Semiformalishmaybe

DBTar

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 includes tweaked versions of my supplementary database library from my Wiki/Blog engine and my structured argument passing module. It also is the first project I've done in a long time that uses stored procedures on Postgres.

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」.

Comments