Using find to Remove Files

The following command will remove all *.pyc files from the current directory and all sub directories.

find . -name \*.pyc -exec rm -v {} \;

Last modified: 2009/12/16 10:29:50.156000 US/Eastern by brian.r.brinegar.1
Created: 2009/12/16 10:27:36.598000 US/Eastern by brian.r.brinegar.1.

Categories

Search

Type in a few keywords describing what information you are looking for in the text box below.

Admin Options: Edit this Document