[K12OSN] Removing pushed icons from desktops

Dan Young dan_young at mesd.k12.or.us
Mon Dec 12 23:16:08 UTC 2005


John P. Conlon wrote:
> After I have pushed a file Icon to the students desktops for them to use 
> or view, how can I remove the thing all at once when We're finished with 
> it?

Something like this should work:

ICONNAME="The quick brown fox"
cd /home
for EACH in *; do rm /home/$EACH/Desktop/"$ICONNAME".desktop; done

-- 
Dan Young <dan_young at mesd.k12.or.us>
Multnomah ESD - Technology Services
503-257-1562




More information about the K12OSN mailing list