mirror of
https://github.com/aljazceru/cryptoanarchywiki.github.io.git
synced 2025-12-17 21:24:20 +01:00
752 B
752 B
layout, title, date, categories
| layout | title | date | categories | ||
|---|---|---|---|---|---|
| post | Remove all files .pyc with recrusive method | 2016-04-19 14:39:34 +0700 |
|
This method simple but important. Example in your project dir is like this:
{% highlight ruby %} project_dir/ init.py init.pyc something.py something.pyc ... core/ init.py init.pyc build.py build.pyc {% endhighlight %}
Deleting the .pyc files one by one would be spending a lot of time. and you will be bored. There is sample how to handle it.
$ find your_dir -name *.pyc -delete
OR, if you work inside current directory.
$ find . -name *.pyc -delete