This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GROUPNAME=developers | |
omero group list | grep $GROUPNAME | cut -d"|" -f5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
USERNAME=icaoberg | |
GROUPNAME=developers | |
omero group insert $GROUPNAME $USERNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
USERNAME=icaoberg | |
GROUPNAME=developers | |
omero group remove $GROUPNAME $USERNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FIRSTGROUPNAME=developers | |
SECONDGROUPNAME=murphylab | |
omero group copyusers $FIRSTGROUPNAME $SECONDGROUPNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <username>" >&2 | |
exit 1 | |
fi | |
USERNAME=$1 | |
TEMP=`omero user list | grep "$USERNAME"` | |
if [ -z "$TEMP" ]; then echo false; else echo true; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <groupname>" >&2 | |
exit 1 | |
fi | |
GROUPNAME=$1 | |
TEMP=`omero group list | grep "$GROUPNAME"` | |
if [ -z "$TEMP" ]; then echo false; else echo true; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install python-vtk python-wxgtk2.6 python-setuptools python-numpy python-configobj | |
sudo easy_install pip | |
sudo pip install mayavi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pbs -Q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for FILE in * | |
do | |
if [ -f "$FILE" ];then | |
ID=`uuidgen` | |
EXTENSION=${FILE#*.} | |
mv -v "$FILE" "$ID"."$EXTENSION" | |
fi | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for FOLDER in * | |
do | |
if [ -d "$FOLDER" ]; then | |
echo "$FOLDER" | |
cd "$FOLDER" | |
for FILE in * | |
do | |
ID=`uuidgen` | |
EXTENSION=${FILE#*.} | |
mv -v "$FILE" "$ID"."$EXTENSION" |