list all files that were deleted in a given commit

git see all deleted files in a commit

https://stackoverflow.com/questions/424071/how-to-list-all-the-files-in-a-commit

git diff --name-status ab1201b8a0133c508cece1d7acd634bca56fce55 ab1201b8a0133c508cece1d7acd634bca56fce55^ | grep ^[^D] | cut -f2

bash have a command act on each line of output

https://stackoverflow.com/questions/16317961/how-to-process-each-line-received-as-a-result-of-grep-command

(Chris said later that xargs can also do it, without a loop)

bash while do on one line

(just use semicolons, with no punctuation other than a space between the do and your command.)

bash delete first character of each line

https://stackoverflow.com/questions/971879/what-is-a-unix-command-for-deleting-the-first-n-characters-of-a-line#971906

See also: