[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ci directories and files
From: |
Aaron S. Hawley |
Subject: |
Re: ci directories and files |
Date: |
Thu, 8 Jul 2004 00:45:51 -0400 (EDT) |
Mike,
CVS is quite adept at handling directory trees as what it terms
"repositories". RCS, for better or worse, only operates on a
file-at-a-time. CVS began actually as a suite of tools that used RCS.
You can use general unix commands to give you the functionality you want,
for instance:
find . -type d -exec mkdir RCS {} \;
# this creates RCS directories in all subdirectories including the
# current directoroy (".")
find . -type f ! -name '*,v' -exec ci {} \;
# this checks-in with the RCS ci command every file in the directory
# tree that doesn't end in comma-v (",v"), which are of course the names
# of any existing RCS files.
hope this helps.
/a
On Wed, 7 Jul 2004, Mike wrote:
> Hi,
>
> I have a project with many directories, sub-directoried and files to put
> into RCS first time. I only know the RCS comamnd to check-in file one by
> one, and never saw any examples to check-in the entire directories and
> files together.
>
> Is there any RCS command to check-in the entire the directories,
> sub-directories and files together?
>
> Thanks,
>
> --
> Mike