You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by simon litwan <si...@wyona.com> on 2006/08/24 12:23:34 UTC

find out which files are checkedOut

hi all

here is a small cool script to find out which files are checked out.
goto
tomcat-5.0.28-8080/webapps/lenya/lenya/pubs/default/content/rcml

and then type:

for i in $(find . -name \*.rcml); do nl -s ":" $i|grep " 3:<CheckOut";
if [ $? -eq 0 ]; then echo $i; fi ;done

thanks very much to gregor imboden!


HTH
simon



-- 
Simon Litwan                               simon.litwan@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org