Pregunta

I accidentally created a directory named: backups\r\r. Any attempt at deleting it failed!

How can this directory be deleted?

¿Fue útil?

Solución

use ANSI-C quoting: rmdir $'backups\r\r'

or delete interactively with pattern matching: rmdir -i backups??

Otros consejos

You must escape the backslashes:

rmdir backups\\r\\r/
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top