엔지니어스 - Engineeus

rmdir: failed to remove 'XX': Directory not empty 본문

Autonomous Tech./Error (Windows & Ubuntu)

rmdir: failed to remove 'XX': Directory not empty

Engineeus 2021. 7. 7. 08:02
728x90

<문제 발생>

rmdir: failed to remove 'XX': Directory not empty

rm: failed to remove 'XX': Directory not empty

 

<해결>

rm -rf XX

 

  • XX : directory name
  • -f = to ignore non-existent files, never prompt
  • -r = to remove directories and their contents recursively

 

Comments