#!/bin/csh -f

if ($#argv == 0) then
	echo "usage: $0 name list"
	exit 1
endif

while ($#argv)
	if (-d $argv[1]) then
		echo "$argv[1] is directory, skipped."
	else
		echo f2rf -u $argv[1] '...'
		f2rf -u $argv[1] > _temp ; timecopy $argv[1] _temp
		mv -f _temp $argv[1]
	endif
	shift
end
