Commit 3718cf39 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Commande iput

parent 02a49ef1
......@@ -109,11 +109,10 @@ for dir in $(find . -maxdepth 3 -type d); do
log "[$KEY] Sending file to iRODS ($SIZE GB)"
imkdir -p $KEY
# Décommenter le bloc et les redirections pour traiter stdout et stderr différemment
# {
{
iput \
--lfrestart $RESIFDD_WORKDIR/$KEY.lfrestart \
--retries 5 -T -K -f \
$RESIFDD_WORKDIR/$KEY.tar $KEY/latest.tar # 2>&1 1>&3 3>&- | logger -t 'resifdd' -p local3.error; } 3>&1 1>&2 | logger -t 'resifdd' -p local3.info
$RESIFDD_WORKDIR/$KEY.tar $KEY/latest.tar 2>&1 1>&3 3>&- | logger -t 'resifdd' -p local3.error; } 3>&1 1>&2 | logger -t 'resifdd' -p local3.info
RC=$?
if [[ $RC -ne 0 ]]; then
log "[$KEY] Error sending file to irods. The command was: iput --lfrestart $RESIFDD_WORKDIR/$KEY.lfrestart --retries 5 -T -K -f $RESIFDD_WORKDIR/$KEY.tar $KEY/latest.tar" 'error'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment