shell
-
Quickly search for a file on a (PC) server from a Mac client
Searching for files on a Windows server from a Mac can be very slow or even fail altogether but with a bit of shell trickery it’s very quick. The script below is 95% instructions – the payload is at the end – that’s the line of code you’ll need to adapt for your search.
-
Remove and ignore dreamweaver dwsync.xml files from your GIT repo
1. Remove any files already added form the working directory. For example: $ git rm -f *dwsync.xml 2. Set up (or create) your global git ignore file in your home directory: $ printf “dwsync.xmlnThumbs.dbn” >> ~/.gitignore 3. using git config add this to you git prefs (For repos that may be worked on by multiple…