on Tue, Mar 13, 2001 at 10:44:18PM +0100, Martin Würtele ([EMAIL PROTECTED]) wrote: > hi, > > we have ftp users in home/ftpusers and we disabled shell acces for them. > now we have .bash* files in every user directory under /home/ftpusers. > > is there a way to use something like > find /home/ftpusers -name .bash* | rm
Several options:
$ find /home/ftpusers -name .bash\* | xargs rm
$ find /home/ftpusers -name .bash\* -ok rm {} \;
...the latter asks for confirmation before each deletion.
--
Karsten M. Self <[email protected]> http://kmself.home.netcom.com/
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
pgpnpq57o5BnP.pgp
Description: PGP signature

