Mike Schilli's Friendly Neighborhood Perl Shop

Home
USArundbrief.com
Resume
CPAN Modules
Articles in English
Articles in German
Mike's Script Archive
English-Japanese Translation Trainer
Adventures with O'Reilly's Safari
10 Easy Steps to Become a California Driver
Unofficial perlmonks.com IRC Channel
My Collection of Outage Pages
Prisma (Computer Club Deutschland)
Mike's Monologues
Mike's Script Archive: uidfind

uidfind - find files/directories owned by users not in the password file


NAME

    uidfind - find files/directories owned by users not in the password file


DOWNLOAD

uidfind


SYNOPSIS

    uidfind [-r replace_by_uid] [-i] start_dir


OPTIONS

-r replace_by_uid
Replace all invalid UIDs found by replace_by_uid (can be either a user name or an ID).

-i
(Only in conjunctions with -r). Prompt user each time a replacement is made.

-v
Be verbose.


DESCRIPTION

uidfind starts a find at start_dir, and searches recursively for files/directories with user IDs not listed in the password file.

To replace these unknown IDs by others, use the -r option. To prompt the user interactively before a replacement is made, use -i.


EXAMPLES

  $ uidfind /home/joe
  $ uidfind -r joe /home/joe
  $ uidfind -r joe -i /home/joe


LEGALESE

Copyright 2005 by Mike Schilli, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.


AUTHOR

2005, Mike Schilli <m@perlmeister.com>


Latest update: 20-Oct-2013