Tuesday, March 28, 2006

Technical Stuff

DOS
===
Command to iteratively copy files within a directory structure

for /D %f in (*.*) DO copy /Y %f\*.jar c:\MyLibs

PS: %f should be replaced with %%f, inside batch files.

E.g. In batch file , to do something for each directory within a given directory,
for /D %%f in (%base_dir%\*) DO


Hibernate
=======
Good Hibernate associations tutorial http://www.xylax.net/hibernate/