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

  • How to Help Humanity
  • Why Economists Miss the Mark
  • Daylight Saving Time
  • Natural Log Proof
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (42)
  • HELP THE WORLD (96)
  • IMPROVE GOVERNMENTS (87)
  • PERSONAL DEVELOPMENT (238)
  • COMPUTER HELP (125)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • 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.

    by Phil B.

    Related Articles
     » ClearCase Support: Creating Elements
     » ClearCase Support: Renaming and Moving Elements
     » ClearCase Support: Checked Out But Removed Error







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