Bulk-git rm using ruby

Edit
Created: 2024/7/26
Updated: 2024/7/26

git status . | ruby -e ‘BEGIN { print “git rm “ }’ -ne ‘print $_.split(/\s+/)[2]+” “ if /deleted/‘ | pbcopy