Newer
Older
LbLcsFormFactors / eos-toys / send_to_zurich.sh
@Elena Graverini Elena Graverini on 21 Mar 2017 595 bytes [eos-toys] Fix typo
# @Author: Elena Graverini
# @Date:   2017-03-21 13:55:51
# @Last Modified by:   Elena Graverini
# @Last Modified time: 2017-03-21 16:41:30
#!/bin/bash

# Needs the following environment variables:
# - $zurich_cluster_mountpoint pointing to the desired mountpoint
# - $zurich_user with your username on the Zurich cluster
mkdir -p $zurich_cluster_mountpoint
sshfs ${zurich_user}@grid-ui.physik.uzh.ch: $zurich_cluster_mountpoint
cd ..
rsync -rd eos-toys $zurich_cluster_mountpoint/Public/eos-toys
cd eos-toys
fusermount -u $zurich_cluster_mountpoint || sudo umount -l $zurich_cluster_mountpoint