Page 4 of 6

Dump a large disk image onto a smaller disk

Replacing your mechanical hard drive with an SSD is an upgrade that you will actually notice. All of a sudden everything seems faster. From booting and loading applications to the overall responsiveness of your operating system.

To put things into perspective I benchmarked a couple of drives that I currently have installed.

Test details: 10mb file sampled for each test 100times, 10mb file sampled 1000 times for access times

Continue reading

GDM woes – Oh no! Something has gone wrong

After running a combination of Ubuntu and Fedora for the past two years I felt ready to try something new. Arch is a rolling-release distribution which offers the latest  packages that are considered stable from upstream developers. As an example when the GNOME project releases an update to their desktop you can expect to be able to install it from the Arch repositories within a short amount of time.

Nvidia drivers are always fresh on Arch which is a huge plus if you’re a gamer or on the lookout for the latest bug fixes.

I feared I might not have the expertise  to run Arch but found it to be pretty straightforward.  After running it as my main operating system for about a month there was only one pesky problem that almost forced me to give up on it.

Continue reading

PST Migrations

Selection_006PSTs are a major problem for organizations.  They contain business-critical information yet they are typically stored locally on  users desktop or laptop computers. Inconsistent and decentralized data makes e-discovery a major obstacle for legal teams.

I recently completed a PST migration where we moved 30 terabytes of PST data (15,000+ PSTs) into an Enterprise Vault data archiving system. We selected TransVault Insight as our PST discovery tool for this project.

Continue reading

xprintidle script

Below is a simple bash script I developed which checks to see whether a user is using the X Window System before attempting to do something. Basically it checks to see if the system is idle. This can be useful if you want to run a backup or a virus scan without impacting a user that may interacting with the desktop environment.

In this example we will consider the system idle if no user interaction with the X Window System has occurred for 10 minutes. Afterwards the system will shut itself down (ideal following a backup)

Continue reading

Expect scripts

Expect is an extension to TCL scripting that can automate interactions with programs that expose a text terminal interface. This is useful for situations where you wish to automate a task but encounter certain prompts that cannot be bypassed.

In the example below we will use a password as the prompt we wish to programmatically bypass when authenticating to an sftp server. Then we will copy all the local files to a destination directory and then purge the original copies.

Continue reading