$ find <directory name> -name '*.pyc' -delete
#Suche
$ 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
#Löschen
$ find ~/project -name *.pyc -delete
#Suche
$ find ~/project -name *.pyc
Keiner
Recommended Posts