keeping symlinks as links, since otherwise we cannot use this handy script to backup...
[feisty_meow.git] / scripts / archival / search_arch.sh
index 523ccab72f076f21445427b160f4683d8dde8ff7..68ec68560c2b155ffcfbec472a1c383b51e10a97 100644 (file)
@@ -28,11 +28,11 @@ TMPFILE="$(mktemp "$TMP/jarfinding.XXXXXX")"
 
 # locate all the archive files under the path.
 find "$dir" -iname "*.jar" -o -iname "*.zip" -o -iname "*.tar" \
-  -o -iname "*.iar" -o -iname "*.oar" -iname "*.bz2" \
+  -o -iname "*.iar" -o -iname "*.oar" -o -iname "*.bz2" -o -iname "*.snarf" \
   >"$TMPFILE"
 
 while read line; do
-  bash $FEISTY_MEOW_SCRIPTS/archival/listarch.sh "$line" 2>&1 | grep -i "$pattern" >/dev/null
+  bash $FEISTY_MEOW_SCRIPTS/archival/list_arch.sh "$line" 2>&1 | grep -i "$pattern" >/dev/null
   if [ $? -eq 0 ]; then echo ==== Found pattern in $line ====; fi
 done <"$TMPFILE"