LWN.net Logo

Wheeler: Fixing Unix/Linux/POSIX Filenames

Wheeler: Fixing Unix/Linux/POSIX Filenames

Posted Mar 25, 2009 22:15 UTC (Wed) by csigler (subscriber, #1224)
In reply to: Wheeler: Fixing Unix/Linux/POSIX Filenames by rsidd
Parent article: Wheeler: Fixing Unix/Linux/POSIX Filenames

> how do you remove all your configuration files and directories (that begin
> with a ".")? "rm -rf .*" will have very undesirable results.

IIRC, you can do something like "rm -fr .[^.]*" -- at least this WFM in the command "ls -Fa .[^.]*"


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds