Fri, 28 Mar 2008 Filed in:
Tools | Python
It's been a while since I've posted a
script; life has been distracting lately. I also wanted to let this
current script mature a lot more before sharing it, as it has the
potential to be destructive. Use wisely!
It's name is
linkdups, and it's a Python program
to recursively walk through a directory tree and hard-links any
files together whose contents match exactly. That means that if you
have two files, each taking up 10 Kb, afterwards they will be
linked to the same contents for a total savings of 10 Kb.
Read
More...
Tags: Python, Optimization, Filesystems, Shell
Mon, 01 Oct 2007 Filed in:
Mac OS X | Tools
Today's brief article describes how to
pass UTF-8 arguments to an Applescript from the command-line. If
you've ever tried saying "olé" to osascript before, you'll know
what I mean.
Read More...
Tags: Applescript, Unicode, Shell