Hi,

On Thu, 30 Aug 2007, John Hegarty wrote:

> I want to delete all the various config files in the home folders - all the
> . ones. Rather than go through all 500 folders I'm hoping someone can give
> me a script to run that will clear out the old profiles and allow folk to
> start afresh but still keep their documents, pictures etc.

First up run:

        find /home/ -maxdepth 2 -name '.*' | xargs echo rm -r  | less

and page through the output to make sure it all looks okay.  Then when
you're happy you can run:

        find /home/ -maxdepth 2 -name '.*' | xargs rm -r  

Gavin


-- 
edubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Reply via email to