On 07/16/2015 04:49 PM, Eric Blake wrote:
On 07/16/2015 07:20 AM, Ruediger Meier wrote:
IMO all workarounds to cleanup "." (inclusive dot-files) are just
annoying.

These work (but I agree that they are much longer to type)

rm -rf -- * .??* .[!.]
(except that has problems with command line length)

find . \! -name . | xargs rm -rf

GNU find does it, too:

  $ find . -mindepth 1 -delete

Have a nice day,
Berny



Reply via email to