add a small usage test if no directory given
enable proper utf8 for every part of the script
fix precedence warning for return f() or die
remove bogus trailing whitespace
skip symlinks during scanning, their contents should be scanned elsewere or explicitly
properly determine the size of @ARGV

the previous way determine the index of the last element - useful, but fails for exactly 1 element
add .gitignore to ignore .*.swp files from vim
implement a cleanup script

this script checks the database contents for:

  * deleted files
  * files that are actually a symlink
  * files in a symlinked directory

All matching files are removed from the database.
update SQL schema to add filenamehash

the field filenamehash is created in order to ensure uniqueness of the
filename components (basedir, path and filename). The concatenation of
these three is hashed in the database using SHA1
include filenamehash while inserting into the DB
provide a small SQL-statement to grab the current hashing completion
provide a sql statement to retrieve the duplicates from the DB
Added database fileinformation fields

For better analysis added filesize, age, access , modified into db table
Merge branch 'master' into 'master'

Extend Database Schema

See merge request !1
move db config out to a configfile

The configfile is provided as config.pl.example, but only read from
config.pl. Hence config.pl is IGNORED via gitignore.

For now only scan-files.pl uses the new configfile, the others remain to be
adapted.