cleanlck.sh
#!/bin/bash # This script files all cdslck files that Cadence creates and # removes them. This includes safe handling of cdslck files that # have been committed to SVN. FILES=$(find . -type f -name *cdslck*) for f in $FILES do #echo "Processing $f" svn info $f 1>/dev/null 2>&1 if [ $? -eq 1 ];then rm -f $f else svn rm $f fi done
No comments:
Post a Comment