On 18/11/10 17:02, Brian R Masterman wrote:
On 18/11/10 12:00, [email protected] wrote:
The command I put in was rm -rf ~/ .shotwell/Examples
You are not alone, we had a UNIX administrator do a;
chown -R .* username
Only to discover that it had changed all the above directories and then
down.
I did that once.
The fact that .* matches .. as well as everything else is definitely a
Trap For Young Players, and might even be considered a design flaw.
Running a command on everything in parent directories -- especially when
it's doing things recursively -- as well as sub-directories is rarely
what you'd expect or want.
cheers
Chris
--
Chris Dennis [email protected]
Fordingbridge, Hampshire, UK
--
Next meeting: Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
How to Report Bugs Effectively: http://goo.gl/4Xue