# Shell script # Snapshot current directory. # This takes 1 or 2 args. The first one is the path to the snapshots DIR. # The 2nd (optional) is a label for the snapshot if desired, which will # create a symbolic link at the root of the snapshots DIR # a simple pipeline. Find is used to generate a filename list find . | catalog | snap $1 $2