Saturday, September 19, 2015

Changing Itunes backup location on windows

Assuming the username you are logged into is `bas`:

mklink /j "C:\\Users\\bas\\AppData\\Roaming\\Apple Computer\\MobileSync" "D:\\ITUNES"

And there you have it. Backup will now be in D:\ITUNES.

Wednesday, March 4, 2015

Create a .gitignore file on windows

As you know if you create a .gitignore file using windows explorer (or .htaccess or any other .something file) it will complain loudly.

The trick is to create a new file and call it :

Notice the "." at the end. It is significant. Once you do that windows explorer will silently remove the trailing "." and you get exactly what you wanted ".gitignore"