From 73262c9a09fa7c44d20483da9705aeff381417bc Mon Sep 17 00:00:00 2001
From: agusmakmun <summon.agus@gmail.com>
Date: Tue, 19 Apr 2016 14:56:45 +0700
Subject: [PATCH] Add post: Remove all files .pyc with recrusive method

---
 ...l-files-pyc-with-recrusive-method.markdown | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 _posts/2016-04-19-remove-all-files-pyc-with-recrusive-method.markdown

diff --git a/_posts/2016-04-19-remove-all-files-pyc-with-recrusive-method.markdown b/_posts/2016-04-19-remove-all-files-pyc-with-recrusive-method.markdown
new file mode 100644
index 0000000..353ac78
--- /dev/null
+++ b/_posts/2016-04-19-remove-all-files-pyc-with-recrusive-method.markdown
@@ -0,0 +1,34 @@
+---
+layout: post
+title:  "Remove all files .pyc with recrusive method"
+date:   2016-04-19 14:39:34 +0700
+categories: python bash
+---
+
+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
+```
\ No newline at end of file
-- 
GitLab