Sometimes I think back on my career path and it’s a bit…. meandering. I love what I do but how I got here was more luck than judgement. Still, in the style of Marvel’s WhatIf? there were a few key points where things could have gone in a very different direction… Continue reading “Tales From IT: A Round-About Career Path”
Tales From IT: Don’t Confuse Relative and Absolute Pathnames!
This incident occurred in the first place I worked and it proved to me just how much damage a little ignorance can do (unfortunately I was the source of the little ignorance in this story).
More specifically, a little ignorance, god-like permissions and a hacked-together backup system built out of scripts. Continue reading “Tales From IT: Don’t Confuse Relative and Absolute Pathnames!”
PowerShell: Copy Directory Structure and a Random Sample of Files from Each Directory
I got my wife a new digital picture frame as a present. It looks cool but the attached storage options (USB or card) aren’t big enough to take all our digital photos.
The decision about which pictures to include relies on either organisational skills OR an artistic eye, neither of which I have.
So what about making it strictly random? Copying the entire directory structure but only a random sample of the files in each folder?
That I CAN do 🙂 Continue reading “PowerShell: Copy Directory Structure and a Random Sample of Files from Each Directory”