Domanda

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

How can this directory be deleted?

È stato utile?

Soluzione

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

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

Altri suggerimenti

You must escape the backslashes:

rmdir backups\\r\\r/
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top