You might find this helpful when using CVS and you have to delete
all the files from a directory. If there are lots of files, this
can be tedious. The following script will do it for you in one step!
=====================================================================
#!/bin/csh
# this script will remove all the files in a directory, and also
# remove them from cvs. It does not remove the CVS directory however.
# put all the names of all the files in the directory in which
# you are running this script into $files
set files = `ls *`
# now check each file to see if it is the CVS file, and if not,
# remove it from directory and cvs. BTW, you should not have this
# script located in the file in which is is running, since it
# will delete itself.
foreach file ($files)
if ($file != /CVS/) then
rm -f $file
cvs remove $file
endif
end
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/x3XolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/nlpatumd/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/