I was tasked with a fairly simple project:
- Traverse a directory with several hundred subdirectories, each containing up to half a dozen images of different sizes
- If a directory already contained an image where [-8:] == "_175.jpg", just delete the entire directory, it was not needed
- If the directory ...
I use vi in the OS X terminal pretty much exclusively. A few weeks ago I did something to blow away my original .vimrc file - I have no idea how I did that, which is a little scary. One of the results was that vi automatically started creating backup ...