Hey Scott,
Well, to be honest, that was given to me fully formed by a
friend. I suppose it means the same a .* except that there
must be at least 2 characters, thus protecting "."
from deletion although rm has a built in protection against
deleting ".".
My guess is that my friend is used to using this sort of
command with all sorts of utilities, some of which maybe
aren't as intelligently designed as rm.
A pipe is unnecessary, as the find command can -exec the
necessary action on any file that meets the test (-iname
'.?*')
I'll need to take a look at the .deb files you pointed out,
thanks. In my experience they sometimes work and sometimes
don't in Ubuntu.
Hope this finds you all doing well!
Sim?n
________________________________
From: los2chapines gmail.com on behalf of Scott Ledyard
Sent: Tue 3/6/2007 7:53 AM
To: Simon Ruiz
Cc: edubuntu-users lists.ubuntu.com
Subject: Refresh default settings on reboot
Hi Simón et al,
I set this as a new thread. I enjoyed reading your article
"Refresh default settings on reboot." I'm a
student of the command line, so I have a question.
In it you use the command:
find /home/student -maxdepth 1 -iname '.?*' -exec rm -rf
'{}' ;
I'm okay with the first part out to '.?*' , but how does
this differ from '.*" ?
After that, I'm lost! Don't you pipe something here?
Scott
BTW, I also read your BLOG posting about SystemImager and
hope my posted comment about http://svn.sisuite.org/
might help.
--
edubuntu-users mailing list
edubuntu-users lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
|