Script To Remove Files Made Either By Python Or Git
Tim Chase
python.list at tim.thechases.com
Fri Oct 9 10:16:46 EDT 2015
On 2015-10-09 14:01, Grant Edwards wrote:
> > Is there an available script to remove file created by either
> > using the Python module or by using git?
>
> Yes. Execute the following at the bash prompt:
>
> $ rm $(find . <find-options-go-here>)
If you've got GNU find, you can just
$ find . -type f {find-options-go-here} -delete
(The find(1) on the OpenBSD box I have at hand doesn't include a
-delete option)
-tkc
More information about the Python-list
mailing list