PPDB=s3://ppdb/input

#for C in ccbword europarl-v7 gale jrc newscomm nist openst taus un; do
for C in europarl-v7 jrc newscomm nist openst taus; do
  echo $C
  cd ${C};
  for L in `ls .`; do
    echo $L
    if [ -f ${L}/input-file ]; then
      cd ${L};
      s3cmd put `pwd`/input-file ${PPDB}/${C}-${L}-input-file
      echo "LEAVING."
      cd ..;
    fi;
  done;
  echo "HOPPING."
  cd ..;
done
