#!/bin/sh
# $Id: osx-toggle-finder-allfiles,v 1.2 2012/09/18 07:21:35 friedman Exp $

pref-set-boolean com.apple.Finder AppleShowAllFiles "$@" \
    && killall Finder 2> /dev/null

# eof
