#!/bin/csh -f # review # ------------------------------------------------------------------------- # Shell script to review files in the local directory that have changed # before doing a backup. # ------------------------------------------------------------------------- # Revision History: # $Log$ # ------------------------------------------------------------------------- if ($1 == "-h" || $1 == "--help") then echo "Usage: $0:t" exit 1 endif if (! -d "$cwd.old") then echo "$cwd.old does not exist for comparison." exit 1 endif # Note: The trailing slash is critical. Otherwise the source directory is # copied into the target directory, instead of the countents of the # source directory being copied into the target directory. review1 $cwd/ $cwd.old