sccs 2 rcs

Charles Steinkuehler charles at steinkuehler.net
Mon Feb 23 18:52:53 CST 2004


Ben Coffman wrote:
> While trying to convert my old sccs system to a cvs system, I found that I 
> needed to run a script called "sccs2rcs." This script works great except for 
> the fact that it does not recurse directories.  The script was writen in 
> csh.
> 
> The only idea I could come up with was to write a perl script that recurses 
> through the directories and calls the sccs2rcs script when needed.
> 
> Is idea within reason?
> 
> Or is there a better way to use the sccs2rcs script?

Find is your friend...try:

$find /code-archive -type d -exec sccs2rcs {} ;

(assumes you can run "sccs2rcs <dir>" and have <dir> converted to cvs 
format).

-- 
Charles Steinkuehler
charles at steinkuehler.net




More information about the Kclug mailing list