[K12OSN] Another Script Challenge

Doug Simpson simpsond at leopards.k12.ar.us
Wed Jul 14 14:10:52 UTC 2004


Hmmm. . .

I think you could do this without a script just with this command:

find /home -name .recycle -exec rm -Rf {} \;

This will find the .recycle folder under every user's home directory and 
run the rm program to remove it recursively (R) and no questions asked (f)

Doug

On Wed, 14 Jul 2004, Caleb Wagnon wrote:

> This one may be easier for you....what's the best way to script deleting a
> .recycle folder from every users home directory? (/home/username/.recycle)
> 
> 
> 

-- 
Doug Simpson
Technology Specialist
DeQueen Public Schools
DeQueen, AR 71832
simpsond at leopards.k12.ar.us
XP is the biggest thorn in my side since Saddam Hussein!
Tux for President!





More information about the K12OSN mailing list