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

¿Fue útil?

Solución

Use find as follows:

find /path/to/folder -name ".git*" -print0 | xargs -0 rm -rf
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top