$ find <directory name> -name '*.pyc' -delete
#Chercher
$ find ~/project -name *.pyc
/Users/xxx/project/django1.5/mysite/mysite/__init__.pyc
/Users/xxx/project/django1.5/mysite/mysite/settings.pyc
/Users/xxx/project/django1.5/mysite/mysite/urls.pyc
/Users/xxx/project/django1.5/mysite/mysite/wsgi.pyc
#Effacer
$ find ~/project -name *.pyc -delete
#Chercher
$ find ~/project -name *.pyc
Aucun
Recommended Posts