Use find
as follows:
find /path/to/folder -name ".git*" -print0 | xargs -0 rm -rf
Pregunta
I have a folder in linux which content folders and many files with name format ".git**?".
how to remove theses files and folders using linux command ?
thanks
Solución
Use find
as follows:
find /path/to/folder -name ".git*" -print0 | xargs -0 rm -rf