Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

cvs command to view newly added empty/non-empty Dir

cvs command to view newly added empty/non-empty Dir

cvs command to view newly added empty/non-empty Dir

Hi all,
I am not a cvs expert. I am using "cvs -nq up" (somebody told me to use this:) ) to view a list of all new/updated/modified/conflicting files.

But, the limitation of this command is that it does not list any Newly Added Directories.
How can I see a List of all Newly Added Directories into CVS?

Any help/hint is very much appreciated.

RE: cvs command to view newly added empty/non-empty Dir

try this

cvs -nq update -d

from help
CVS global options (specified before the command name) are:
    -H              Displays usage information for command.
    -Q              Cause CVS to be really quiet.
    -q              Cause CVS to be somewhat quiet.
    -r              Make checked-out files read-only.
    -w              Make checked-out files read-write (default).
    -n              Do not execute anything that will change the disk.
    -t              Show trace of program execution (repeat for more verbosity) -- try with -n.
    -v              CVS version and copyright.
    -T tmpdir       Use 'tmpdir' for temporary files.
    -e editor       Use 'editor' for editing log information.
    -d CVS_root     Overrides $CVSROOT as the root of the CVS tree.
    -f              Do not use the ~/.cvsrc file.
    -F file         Read command arguments from file.
    -z #            Use compression level '#' for net traffic.
    -x              Encrypt all net traffic (fail if not encrypted).
    -y              Encrypt all net traffic (if supported by protocol).
    -a              Authenticate all net traffic.
    -N              Supress network share error. (UNSUPPORTED OPTION)
    -s VAR=VAL      Set CVS user variable.
    -o              Translate between server and client locale if possible.
    -O              Disable locale translation.

Usage: cvs update [-ABPCdflRpbmt] [-k kopt] [-r rev] [-D date] [-j rev]
    [-I ign] [-W spec] [files...]
    -3    Produce 3-way conflicts.
    -A    Reset any sticky tags/date/kopts.
    -b    Perform -j merge from branch point.
    -C    Overwrite locally modified files with clean repository copies.
    -c    Update base revision copies.
    -D date    Set date to update from (is sticky).
    -d    Build directories, like checkout does.
    -f    Force a head revision match if tag/date not found.
    -I ign    More files to ignore (! to reset).
    -j rev    Merge in changes made between current revision and rev.
    -k kopt    Use RCS kopt -k option on checkout. (is sticky)
    -l    Local directory only, no recursion.
    -m    Perform -j merge from last merge point (default).
    -P    Prune empty directories.
    -p    Send updates to standard output (avoids stickiness).
    -R    Process directories recursively.
    -r rev    Update using specified revision/tag (is sticky).
    -S    Select between conflicting case sensitive names.
    -t    Update using last checkin time.
    -W spec    Wrappers specification line.


In the 1960s you needed the power of two Comodore64s to get a rocket to the moon. Now you need a machine which is a vast number of times more powerful just to run the most popular GUI.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close