lists/previews.sh

15 lines
252 B
Bash
Raw Permalink Normal View History

2025-02-11 04:41:53 +00:00
#!/bin/sh
find ./ -type f -print | grep \\.decl | sort > tmplist1
cat tmplist1
TOTAL_PKGS=$(wc -l tmplist1)
COUNTER=0
cat tmplist1 | while read DECL
do
COUNTER=$((COUNTER+1))
./convert-previews.sh "$DECL"
echo "($COUNTER/$TOTAL_PKGS) $DECL"
done