24fb60bcd10e16f2ea57282b7330fd13e4b589cf
kuhn
  Tue Dec 11 12:25:06 2012 -0800
changed so it will do current dir as well as whole tree from here down
diff --git src/utils/qa/findBigFiles.csh src/utils/qa/findBigFiles.csh
index e1487a0..707e39d 100755
--- src/utils/qa/findBigFiles.csh
+++ src/utils/qa/findBigFiles.csh
@@ -1,20 +1,30 @@
 #!/bin/tcsh
 source `which qaConfig.csh`
 
 if ($#argv != 1) then
   # no command line args
   echo
-  echo "  gets the sizes of files from here down sorted by size."
+  echo "  gets the sizes of files sorted by size."
   echo
-  echo "    usage:  go"
+  echo "    usage:  go | ."
+  echo
+  echo '       where "go" does the whole tree from here down.'
+  echo '         and  "." does the current dir only'
   echo
   exit
-else
-  if ($argv[1] != "go") then
-    $0 
-    exit 1
-  endif
 endif
 
+if ( $argv[1] == "go" ) then
 find . -type f | xargs ls -og | awk '{print $3, "\t", $7}' | sort -n \
   | tail -50
+  exit
+endif
+
+if ( $argv[1] == "." ) then
+  ls -og | awk '{print $3, "\t", $7}' | sort -n \
+    | tail -50
+  exit
+endif
+
+$0
+exit 1