Jim, You don't need a script; just use the UN*X find command like this:
find /home -name \.g* | xargs rm NOTE that the code that follows the "-name" is a slash "\" followed by a dot "." and a g* Hope this helps. On Tue, Nov 10, 2009 at 4:29 PM, Jim Christiansen <[email protected]> wrote: > OK, it looks like I've settled on Ubuntu 9.04 for our new/old- rehabbed LTSP > server. > > I'm symlinking my old K12LTSP rsynced home from another drive into the file > system as the home. > > My student homes from the K12LTSPEL5 system are full of all of the wrong > .gconf ... .gnome folders. On startup if they don't exist they are created > no prob. What I need to do is find a script that will: > > cd into each student home > rm -rf .g* > cd back out > cd into the next student home and repeat all the way through the home dir > > I'm not having any troubles with the authenticating I don't think. I've > appended the old user lines from the k12ltsp group, password and shadow > files into the new ones. My rsynced student homes have ownership and other > permissions preserved. > > I think it should all work if it wasn't for all of the old gnome/gconf junk. > > Ideas for the script?? > > Thanks, Jim > > > > -- > edubuntu-users mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/edubuntu-users > > -- Cheers, Patrick ------------------------------------------ Patrick E. McKnight, Ph.D. Department of Psychology George Mason University MSN 3F5, 4400 University Drive Fairfax, VA 22030-4444 703-993-8292 (office) 703-993-1359 (fax) [email protected] http://mres.gmu.edu -- edubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
