http://www.perlmonks.org?node_id=389240


in reply to tree backup script - file type problem

I like File::MMagic.