Just found I can use "ln dir1/* dir2" to make hard link for all files in dir1 to dir2.
-----Original Message----- From: Xuesong Luo Sent: Thursday, June 28, 2007 11:17 AM To: solr-user@lucene.apache.org Subject: RE: snapshooter no go I got another problem: solr is able to find snapshooter but didn't generate any snapshot files after I updated the index. I checked the log, everything looks fine, then I run snapshooter from command line. It failed because solaris doesn't support -l option when using cp command. I'm trying to find an alternative way but it seems the only option is to loop through all files in that dir and use ln command to create hard link for each of them. Does anyone know a better solution? I'm also curious why there is no error log when solr failed running snapshooter. Thanks Xuesong