Skip to content

Instantly share code, notes, and snippets.

@MansMeg
Last active March 6, 2016 13:02
Show Gist options
  • Save MansMeg/5e1ee1f5305cd3b2cd83 to your computer and use it in GitHub Desktop.
Save MansMeg/5e1ee1f5305cd3b2cd83 to your computer and use it in GitHub Desktop.
Script to move move from old to new projects at NSC
#!/bin/bash
# Assumptions:
# None
#
# Description:
# Moves a full folder from an old project account to a new project account at NSC (Gamma)
#
LIUNAME=x_manma
OLD_NSC_ACCOUNT=liu-2015-00017-47
NEW_NSC_ACCOUNT=liu-2015-00020-3
# Move folder
ssh [email protected] mv /proj/$OLD_NSC_ACCOUNT /proj/$NEW_NSC_ACCOUNT
# All done
echo Moving done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment