Monday, April 16, 2007

Unzip into a subdirectory!

Most folks know this. If you are one of those folks, just move along. I'll wait...

Now. When you make a TAR or ZIP file, make it so the files will un-tar/zip into a subdirectory, damn it! Do you really think I want your files spread all over my /usr/local tree?

This is especially common amongst people who make ZIP files, so I'm usually on my guard for it. But tarballers: come on! Get with it! It's easy: "cd ..; tar cvf foo.tar DIR"

No comments: