Archive for March, 2008
Tuesday, March 4th, 2008
Since I switched to a Macbook Pro, I've felt the absence of the "Delete" key. It's not the same as the Backspace key even in text-based applications, let alone in other things such as a web browser.
To the rescue comes Double Command, a Preference Pane add-in that will give ...
Posted in Uncategorized | No Comments »
Saturday, March 1st, 2008
This little script will print a list of the current files in a directory, prefixed with the full path:
#!/bin/sh
curdir=`pwd`
if [ $# -eq 1 ]
then
usrdir="$1"
ls | xargs -I % echo `pwd`/% | sed -e s!$usrdir!!
else
ls | xargs -I % echo `pwd`/%
fi
You can optionally provide an initial part of the path to ...
Posted in Uncategorized | No Comments »