Chris Angelico <ros...@gmail.com>:

> On Sat, Oct 10, 2015 at 1:01 AM, Grant Edwards
> <invalid@invalid.invalid> wrote:
>> $ rm $(find . <find-options-go-here>)

This is not safe since find might return pathnames with spaces in them.

Also, the command fails if find should produce no matches.

> Or if you're using GNU find:
>
> $ find <find-options-go-here> -delete

This is safe.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to