How to recover deleted Homebrew formulas following a brew upgrade.
Okay so I was trying to upgrade to the latest version of Hugo today on macOS and didn’t have the time nor the patience to read man brew again.
tldr brew didn’t show how to install a specific version of a formula so I did what any reasonable person would do and read Jake Trent’s downgrading post so I knew how to go back after an upgrade.
Then I ran a brew upgrade hugo to get the latest Hugo version…
How to fix the errors iTunes shows when its unable to locate files.
iTunes users opting not to allow the program to automatically keep their folders organized (the default setting) may be well aware that iTunes does not respond well after changing locations of or renaming files. In fact, any change in the file name or path renders the item inaccessible from within iTunes, almost as if your iTunes library disappeared. To make matters worse, there’s no easy way to have iTunes relocate files moved. iTunes prompts the user to relocate missing files but only one at a time with a dialog that says:
The [type] [name] could not be used because the original file could not be found. Would you like to locate it?
Not so useful when a lot of files are moved at once. But if a directory containing hundreds of files needs to be moved, to a larger hard drive for example, locating files individually becomes too much work.