brew remove --force "Directory not empty" error
Finder activity such as moving the position of an icon can create an unexpected .DS_Store file in a Cellar directory. This causes `brew remove --force` to throw an error that is reported as Error: Directory not empty - /usr/local/Cellar/<formula> This fix avoids that error, by calling rmtree rather than rmdir. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Homebrew
Features, usage and installation instructions are summarized on the homepage.
What Packages Are Available?
- You can browse the Formula folder on GitHub.
- Or type
brew searchfor a list. - Or run
brew serverto browse packages off of a local web server.
More Documentation
brew help or man brew or check our wiki.
Who Are You?
I'm Max Howell and I'm a splendid chap.
4.6.25
Latest
Languages
Ruby
92%
Shell
5.2%
Roff
2.1%
HTML
0.5%