[K12OSN] Another Script Challenge
Lewis Holcroft
lewis at pcc.com
Wed Jul 14 14:08:07 UTC 2004
Caleb
cd /home
for user in *
do
rm -f /home/$user/.recycle
done
In this script I did not need to specify the full path in the rm
command. But I have nuked stuff way to many times so I try to use full
paths in my rm commands.
Lewis
On Jul 14, 2004, at 10:00 AM, 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)
>
>
> --
> Caleb Wagnon
> Technology Coordinator
> Fordyce School District
> 870.352.2968
> http://redbugs.dsc.k12.ar.us
>
>
>
>
>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
More information about the K12OSN
mailing list