Last change
on this file since 173 was
37,
checked in by (none), 15 years ago
|
Added original make3d
|
-
Property svn:executable set to
*
|
File size:
350 bytes
|
Rev | Line | |
---|
[37] | 1 | #!/bin/bash |
---|
| 2 | # Script file to clean up a directory and all it's sub-directories |
---|
| 3 | # Arg 1 should be the directory to clean |
---|
| 4 | |
---|
| 5 | function cleandir() { |
---|
| 6 | echo Cleaning $1 |
---|
| 7 | |
---|
| 8 | rm -f $1/sta* $1/*~ $1/*% $1/*.a $1/*.bak $1/*.o $1/*.rpo $1/core |
---|
| 9 | |
---|
| 10 | for fname in $1/* |
---|
| 11 | do |
---|
| 12 | if [ -d $fname -a ! -L $fname ]; then |
---|
| 13 | cleandir $fname |
---|
| 14 | fi |
---|
| 15 | done |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | cleandir $1 |
---|
Note: See
TracBrowser
for help on using the repository browser.