Jeremy Stein - Brain
« Warning dialog on closing Outlook | ClearCase 117:ERROR » |
ClearCase – Find Added Files
Rational ClearCase doesn’t provide a mechanism for determining which files in the directory structure aren’t under source control. Since ClearCase makes its files read-only, the easiest way I’ve found to find these files is to look for files that are not read-only. (This will also match checked-out files.)
I can’t find a way to do this on Windows natively, so I use cygwin:
find . -writable
That’s the basic idea. If your directory structure was designed by nincompoops, you might have derived files in the same directory tree. In that case, you’ll want to filter those out:
find . -type d \( -name build -o -name target \) -prune -o -type f -writable -print
No Comments
Be the first to comment!
« Warning dialog on closing Outlook | ClearCase 117:ERROR » |
Leave a Reply