Ignore chose

This commit is contained in:
flyingscorpio@arch-desktop 2021-01-01 21:05:23 +01:00
parent ebb759315e
commit 81da82c811
2 changed files with 6 additions and 1 deletions

View file

@ -5,6 +5,11 @@
for folder in ~/tssr/procedures/*; do
if [ -d "$folder" ]; then
name=$(basename "$folder")
cp "$folder"/procedure*.pdf ./procedures-tssr/procedure_"$name".pdf
if [[ "$name" = *chose* ]]; then
echo ignoring "$name"
else
echo found "$name"
cp "$folder"/procedure*.pdf ./procedures-tssr/procedure_"$name".pdf
fi
fi
done