Comment Comment by OskarS Just be careful to quote filename variables. Don't write this: cp $FILENAME $TARGET Write this: cp "$FILENAME" "$TARGET" It's a bit annoying, but it's not that bad, and certainly not unmaintainable. parent OskarS 5 years ago