synchronize file from a node back to the master until a job is finished.
Directory structures must be the same ton the node as on the local machine
lsf-synchroFilesUntilFinished.pl --jobid=lsfjobid --remotehost=hostname [--delay=int] /my/path1/file1 /my/path2/file2 /my/path3/file3
The lsf job id
If no files are specified (thus the format must be) I/O are stdin/out.
A host from wich the file(s) is the to be gathered. A non-interactive rsync command chould be achievable towards this node.
argument can be user@host (or whatever considered by the rsync command)
wait 4 the lsf job to start, then get back the file from given node in the attributed list
number of seconds to sleep between 2 synchro. [default is 5]
rsync options (--verbose --recursive "--rsh=ssh"...)
Set a remote host for lsf master (thus a remote check for a job to be finished)
Copyright (C) 2004-2005 Geneva Bioinformatics www.genebio.com
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Alexandre Masselot, www.genebio.com