Wednesday, June 19, 2013

Clone Cygwin packages.

I've come to depend on having a specific set of cygwin packages installed when working on systems.  The simple way to make sure it has what I expect is to install it.



I set this up to run regularly, which is why the filenames are timestamped.

Credit for inspiration to use /etc/setup/installed.db goes to http://cygwin.com/ml/cygwin/2011-09/msg00079.html

xmission is one of the closest sites, pick the appropriate one for you at http://cygwin.com/mirrors.html

Monday, June 17, 2013

Windows Explorer to current Bash prompt

There are times when it's just faster to do some things from Windows Explorer, than from Bash.  I know, this is sacrilegious to say, but it's usually when doing Windows specific things, so give me a pass here.

I've seen many ways to do this, but I'm partial to this way. 

I used nano to save this file to /bin/x, chmod 700 and done.

It's small and simple.

Unix philosophy anyone?