Next | Trivial Utilities | 86 |
This used to be done by some special-purpose command called updatedb
I replaced updatedb with a Perl program
It's just a rather thin wrapper around find
It starts like this:
#!/usr/bin/perl use strict 'vars';
my @PRUNE = (); my $ROOT = '/'; my $DEF_OUTPUT = '/var/lib/slocate/FILES'; my $OUTPUT = $DEF_OUTPUT;
The next section is another handwritten option parsing section
I really have no excuse for this
Move along, nothing to see here
Next | Menu | Copyright © 2012 M. J. Dominus |