> (1) > How can I check out the first level or two levels of directories and files
> of a huge module without "recursive descend"? > > I only want to look at the available top-level directories. > > The following command only check out the "module" directory itself, but I > want to check out the files and one hierarchy level of subdirectories in > "module": > cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/module co -l module > > > (2) > How can I list the first level directories (and probably files) of a module > without actually checking it out? > A dirty solution is to do a local checkout followed by a dummy update: cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/module co -l module cd module cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/module -qn up -d This will list the directories and won't checkout. The output can be formatted to a simple list: cvs -qn up -d 2>&1 | cut -f 5 -d' ' This list may be used to checkout the first level directories (e.g. using xargs) The process may be repeated (using a script) to checkout or view nth-level directories. Regards, Vinnie
_______________________________________________ info-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/info-cvs
