Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Let's code together!

Clément Parisot clement-parisot

👨‍💻
Let's code together!
Block or report user

Report or block clement-parisot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@clement-parisot
clement-parisot / backup-para.sh
Created Dec 6, 2017
Grid'5000 Backup homedir in parallel
View backup-para.sh
#!/bin/bash -l
function backup {
s="$1"
LOCATION="/media/cparisot/BACKUP_CPARISOT/G5K/"
BACKUP_DIR="${LOCATION}/$s"
LOG_FILE="${BACKUP_DIR}/backup.log"
LOG="tee -a ${LOG_FILE}"
RSYNC_CMD="rsync -avpP --delete --partial $s.g5k:/home/cparisot ${BACKUP_DIR}/"
mkdir -p ${BACKUP_DIR};
touch $LOG_FILE | $LOG;
View keybase.md

Keybase proof

I hereby claim:

  • I am clement-parisot on github.
  • I am cparisot (https://keybase.io/cparisot) on keybase.
  • I have a public key ASBJwfUuV7pVEJxB1b06PsvSZQckPgeZNDVOWExn2sjfcwo

To claim this, I am signing this object:

You can’t perform that action at this time.