Phil for Humanity

A Guide for the Survival of Humankind, and Improving the World, Society, and Yourself!


Popular Articles
  • Reasons For and Against
    Human Cloning
  • Globalization of the USA
  • The Pros and Cons of
    Capital Punishment
  • World's Stupidest Game

  • Latest Articles

  • Pessimism versus Realism
  • The Pros and Cons of Negativity
  • Demote Managers
  • Grow Plateau and Go
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (34)
  • HELP THE WORLD (82)
  • IMPROVE GOVERNMENTS (68)
  • PERSONAL DEVELOPMENT (172)
  • COMPUTER HELP (37)
  • ARCHIVE (all articles)
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: How to Find Checked Out Elements


    Ever wonder how to find all the checked out files in your ClearCase View from the command line?

    Here is an example on how to do it while in a View:

    $ cleartool lspriv -co
    /vob/test/a/b.txt [checkedout]
    /vob/test/a/c/d.txt [checkedout]
    /vob/test/a/e.txt [checkedout]

    You may have noticed that the previous command does not locate directories. It only locates files. So, to find all checked out elements (files and directories) in your View, run this command:

    $ cleartool lsco -short -cview -me -avobs
    /vob/test/a
    /vob/test/a/b.txt
    /vob/test/a/c
    /vob/test/a/c/d.txt
    /vob/test/a/e.txt

    Note that the second command is much slower than the first command.

    If you have any other ClearCase questions, please do not hestitate to contact me for free advice.

    by Phil B.

    Related Articles
     » ClearCase Support: Creating Elements
     » ClearCase Support: Renaming and Moving Elements
     » ClearCase Support: How to Delete a ClearCase Element







    Copyright © 2006-2008, Phil for Humanity. All Rights Reserved.