Delete Directory via Git Bash - Error: Device or Resource Busy

Asked

Viewed 190 times

1

I’m trying to delete a directory via Git Bash, but it’s giving the error "Device or Resource Busy", as print below. I have not located any application that is occupying this Directory. Is there any command for me to "force" the removal of it?

inserir a descrição da imagem aqui

1 answer

1


To force the removal of a directory/folder use:

rm --recursive -f [diretório]

Where:

  • f: force to remove
  • recusive: will fetch the files below the directory passed as parameter

To learn more about the command:

rm --help

Browser other questions tagged

You are not signed in. Login or sign up in order to post.