I just got sent a bunch of backup snapshots nicely compressed in RAR format in 20Mb segments in multiple folders. Nice I thought, now you’d have to iterate through 80 folders, and extract each rar file and merge them all into the same folder.
/media/Storage/Shared/Backups/AcronisTrueImage.WEBSOFTWARE-X.20090201/*.rar /media/Storage/Shared/Backups/AcronisTrueImage.WEBSOFTWARE-X.20090202/*.rar /media/Storage/Shared/Backups/AcronisTrueImage.WEBSOFTWARE-X.20090203/*.rar So I threw the files onto our linux box (didnt want to run this through Cygwin) and knocked up a little gem to iterate through all the folders and extract the RAR files and put them into the root folder.
... ➦
Came across a post on DeveloperFusion today that resonated the same issue we had at work a few days earlier involving JET (no not the band) accessing an Access database in .NET code on Windows x64.
If you find you get a nasty:
The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine.
... ➦
Have you ever wondered how Regular Expressions really work? Most of us (myself included) just take the implementation for granted, but Jeff Moserof Moserwarehas posted a most excellent, very in-depth overview how Regular Expressions have been implemented in .NET. A must read for anyone who would like a deeper knowledge about what really happens under the hood and Jeff has done a brilliant job of pulling it into one consistent article.
... ➦
Thats right, I’m now l33t enough to be on twitter. A foundry for all my /dev/random thoughts that just can’t fill up the space on this blog. As you’d expect its raw, unedited and uncut, just the way you like it. Alternatively the gadget on the right of the blog has the latest tweets.
... ➦
Had to extract some files from a Windows Installer setup, a mental note of the command line:
msiexec /a [target.msi] /qb TARGETDIR=[Path to extract]
Whilst on the topic of MSI’s, I can’t live without msi2xml. Perfect for that quick hack to an MSI that simply wont install because of OSChecks or something else – yes, I mess with things far more than I’d like to admit 😉
Tim Jones has posted an article on the IBM DeveloperWorks website about the importance and anatomy of the Ext4 file system for Linux.
The first supported file system for Linux was the Minix file system. This file system had some significant performance issues, so another file system was created specifically for Linux called the extended file system.
... ➦
File Systems are a hairy topic, on Windows you should be using NTFS (the days of FAT are long gone!) but on Linux, BSD and *Solaris we still have a wide variety to pick and choose depending on our needs. I’ve always been a JFS and XFS fan (previously ReiserFS) until Btrfs goes mainstream (which is one thing to hangout for in Linux Kernel 2.
... ➦
Linus Torvalds just released Linux Kernel 2.6.28 today as an Christmas present to all the good (and not evil) l33tle-big boys and gals around the globe. This brings a whole host of new cool bits and bobs thats sure to get people excited (Ext4 being one and the GEM Memory Manager) read all about it in the Linux Kernel Newbies guide.
... ➦
It only feels like last month Sun released VirtualBox 2.0 and they’ve just released 2.1 which brings a plethora of additional goodies… from the changelog:
Support for hardware virtualization (VT-x and AMD-V) on Mac OSX hosts Support for 64-bit guests on 32-bit host operating systems (experimental; see user manual, chapter 1.
... ➦
Epic news, Google has released a 1.0 release of Chrome.
We have removed the beta label as our goals for stability and performance have been met but our work is far from done. We are working to add some common browser features such as form autofill and RSSsupport in the near future.
... ➦