Pergunta

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

Foi útil?

Solução

Use find as follows:

find /path/to/folder -name ".git*" -print0 | xargs -0 rm -rf
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top