Glob exclusions
@except modifier can be useful to exclude some files from the @glob coverage. Example:
@goal process @glob '*.txt' @except '*_processed.txt'
echo "processing $ITEM..."
mv "$ITEM" "${ITEM%.txt}_processed.txt"
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
@except modifier can be useful to exclude some files from the @glob coverage. Example:
@goal process @glob '*.txt' @except '*_processed.txt'
echo "processing $ITEM..."
mv "$ITEM" "${ITEM%.txt}_processed.txt"