1 2 3 4 5
#!/bin/sh -e find . -type f -name '*.txt' | while read -r file; do install -Dm644 "$file" "$1/usr/share/docs/carbslinux/$file" done