Append string to list of files with xarg
Sep 21, 2022 - ⧖ 1 min❯ find . -name "requirements.in" -print0 | xargs -0 sh -c 'for arg in "$@"; do echo "awscli" >>"$arg"; done'
❯ find . -name "requirements.in" -print0 | xargs -0 sh -c 'for arg in "$@"; do echo "awscli" >>"$arg"; done'