I just download the project folder from website, but it the filename being duplicate which like main.ts and main.ts.Identifier. So instead of delete one-by-one, I just listing all the file then delete directly.
- save in sh extension
#!/bin/bash dir=${1:-.} find "dir" -type f -name "*.Identifier" -exec rm -f {} ;
- done finish, run with command
sh <filename>.sh /path/of/project