App-rmshit
view release on metacpan or search on metacpan
doc/rmshit.conf.example view on Meta::CPAN
# vim: set ft=perl:
=r
rmshit will look for a configuration file named rmshit.conf in
$XDG_CONFIG_HOME/rmshit.
If none is found, it'll assume /etc/rmshit.conf
=cut
our $watchdir = "$ENV{HOME}"; # Default dir to watch - ~/
# Might be sane defaults
our %shittyfiles = (
"$ENV{HOME}" => ['.adobe', # Flash crap
'.esd_auth', # ESD, Firefox creates this
'.macromedia', # Flash crap
'.recently-used.xbel', # GTK Save Dialog, probably
'Desktop', # Firefox creates this
],
# );
# Authors choice
# "$ENV{HOME}" => ['.adobe',
# '.cache',
# '.esd_auth',
# '.macromedia',
# '.dbus',
# '.gconf',
# '.gconfd',
# '.links',
# '.lynx',
# '.lyrics',
# '.gem',
# '.cpan',
# '.xsel.log',
# '.dmenu_cache',
# '.fmenu_cache',
# '.Xauthority',
# '.fontconfig',
# 'Desktop',
# '.local/share/gegl-0.1',
# '.thumbnails',
# 'Downloads',
# '.gimp-2.6',
# '.apvlvinfo',
# '.pki',
# ],
# Example.
# "/var/log" => ['mail.log.1',
# 'syslog.log.1',
# 'uucp.log.1',
# 'kernel.log.1',
# ],
);
1;
( run in 1.630 second using v1.01-cache-2.11-cpan-5735350b133 )