Reputation: 13
I work on rather big ( 800+ files ) project in VSCode and got somewhat stuck today.
There are multiple files with exact same name in multiple folders. Deleting each one manually is painstaking.
These files are: en.yml
and fr.yml
I know I can Find & Replace
, it finds all occurrences of files I want to delete all en.yml
and fr.yml
files.
Is there an easy way of automating / achieving this?
Upvotes: 1
Views: 1662
Reputation: 28838
best to do it from the terminal/shell
find . -name en.yml | xargs -I {} rm {}
Upvotes: 1