On 09/10/2015 16:44, Jason Swails wrote:
On Fri, Oct 9, 2015 at 6:08 AM, Joshua Stokes mailto:joshua.sto...@icloud.com>> wrote:
Hi
Is there an available script to remove file created by either using
the Python module or by using git?
There's always this nugget:
git clean -fxd
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 . )
If you've got GNU find, you can just
$ find . -type f {find-options-
In a message of Fri, 09 Oct 2015 21:08:22 +1100, Joshua Stokes writes:
>Hi
>
>Is there an available script to remove file created by either using the Python
>module or by using git?
>
>Thanks
>
>>From Joshua P Stokes
No. A file is a file. It doesn't know which program created it.
I can use pyth
On 2015-10-09, Marko Rauhamaa wrote:
>>> $ rm $(find . )
>
> This is not safe since find might return pathnames with spaces in
> them.
Good point.
> Also, the command fails if find should produce no matches.
I just tried, it with a pattern that produced no matches, and it
removed no files. Th
On Fri, Oct 9, 2015 at 6:08 AM, Joshua Stokes
wrote:
> Hi
>
> Is there an available script to remove file created by either using the
> Python module or by using git?
>
There's always this nugget:
git clean -fxd
This will get rid of *all* untracked files in the current directory of a
git repo
Chris Angelico :
> On Sat, Oct 10, 2015 at 1:01 AM, Grant Edwards
> wrote:
>> $ rm $(find . )
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 -delete
This is safe.
M
On Sat, Oct 10, 2015 at 1:01 AM, Grant Edwards wrote:
> Yes. Execute the following at the bash prompt:
>
> $ rm $(find . )
Or if you're using GNU find:
$ find -delete
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On 2015-10-09, Joshua Stokes 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 . )
--
Grant Edwards grant.b.edwardsYow! Four thousand
On 9 October 2015 at 12:08, Joshua Stokes wrote:
> Hi
>
> Is there an available script to remove file created by either using the
> Python module or by using git?
There’s no such script, but we could help you write one.
Now, what “Python module” do you mean? Unless it’s a git module, it’s
impo
On Fri, Oct 9, 2015 at 9:08 PM, Joshua Stokes wrote:
> Hi
>
> Is there an available script to remove file created by either using the
> Python module or by using git?
>
> Thanks
I asked my advice device, and it said:
Ask again later.
Unsatisfied, I reworded the question, and asked again. It re
Hi
Is there an available script to remove file created by either using the Python
module or by using git?
Thanks
>From Joshua P Stokes
--
https://mail.python.org/mailman/listinfo/python-list
11 matches
Mail list logo