These unix utilities include cdf, posd, fdc and rmm.
cdf and posd:
posd is an osascript embedded in a shell script that returns the directory corresponding to the frontmost Finder window. Its real value is when aliased to the command cdf, i.e.:
% cdf='cd "$(/sw/bin/posd)"'The command cdf changes the terminal working directory to match that of the frontmost Finder window.
fdc:
fdc is essentially the reciprocal operation of cdf. It changes the Finder window to match the current directory of the Terminal in which the command is issued.
rmm:
rmm is a shell script (also written by Gary; info/download) that emulates the GNU rm function, except that it moves files to the user's Trash directory, instead of unlinking them. If you alias rm to rmm for your interactive sessions (only), then it can become a rm replacement that puts everything in the Trash can, much like Finder's delete.
I've put further details, including links to Finder toolbar applications, downloads, screenshots, fink ports and a few of my modifications on my website...

