source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/Rectification/cleanup @ 173

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
Line 
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
5function 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
18cleandir $1
Note: See TracBrowser for help on using the repository browser.