Applications can create a lot of temporary files sometimes, and these files aren’t always cleaned up automatically. An example of this is when you run Python applications. Particularly if you’re a Python developer, your source code directories stack up with a .pyc version of each file, which is the cached compiled copy of the script. To clean up (especially if you’re going to do a source commit or an upload somewhere to extend that example) files of a certain file extension, you can use this command line snippet:

Full story »
chen2007's picture
Created by chen2007 9 years 29 weeks ago – Made popular 9 years 29 weeks ago
Category: High End   Tags: