Skip to main content
added 245 characters in body
Source Link
man0v
  • 347
  • 1
  • 7

You can use the *

sudo rm -rfrfi Ein*

or

sudo rm -rfrfi *Biochemie

Provided there are no other directories that match the pattern, in which case you'll have to pick a pattern that's unique.

You could also use rmdir instead of rm.

As Jeff Schaller pointed out, the -i option will help if the pattern matches directories which are not to be deleted(by prompting for confirmation on each match).

You can use the *

sudo rm -rf Ein*

or

sudo rm -rf *Biochemie

Provided there are no other directories that match the pattern, in which case you'll have to pick a pattern that's unique.

You could also use rmdir instead of rm.

You can use the *

sudo rm -rfi Ein*

or

sudo rm -rfi *Biochemie

Provided there are no other directories that match the pattern, in which case you'll have to pick a pattern that's unique.

You could also use rmdir instead of rm.

As Jeff Schaller pointed out, the -i option will help if the pattern matches directories which are not to be deleted(by prompting for confirmation on each match).

Source Link
man0v
  • 347
  • 1
  • 7

You can use the *

sudo rm -rf Ein*

or

sudo rm -rf *Biochemie

Provided there are no other directories that match the pattern, in which case you'll have to pick a pattern that's unique.

You could also use rmdir instead of rm.