-
Notifications
You must be signed in to change notification settings - Fork 37
/
_messages.mount.sh
executable file
·64 lines (51 loc) · 5 KB
/
_messages.mount.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
SUDO=""
LINK=`readlink -f $0`
BASE=`dirname $LINK`
if [ `id -u` -ne 0 ]; then
SUDO="sudo"
fi
USERID=`id --user`
GROUPID=`id --group`
cd $BASE
($SUDO archivemount ceas.1.tar.bz2 $BASE/ceas/_1 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount ceas.2.tar.bz2 $BASE/ceas/_2 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount ceas.3.tar.bz2 $BASE/ceas/_3 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount ceas.4.tar.bz2 $BASE/ceas/_4 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount ceas.5.tar.bz2 $BASE/ceas/_5 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount ceas.6.tar.bz2 $BASE/ceas/_6 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount ceas.7.tar.bz2 $BASE/ceas/_7 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount ceas.8.tar.bz2 $BASE/ceas/_8 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount corpus.1.tar.bz2 $BASE/corpus/_1 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount cypher.1.tar.bz2 $BASE/cypher/_1 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.1.tar.bz2 $BASE/enron/_1 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.2.tar.bz2 $BASE/enron/_2 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.3.tar.bz2 $BASE/enron/_3 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.4.tar.bz2 $BASE/enron/_4 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.5.tar.bz2 $BASE/enron/_5 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.6.tar.bz2 $BASE/enron/_6 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.7.tar.bz2 $BASE/enron/_7 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.8.tar.bz2 $BASE/enron/_8 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.9.tar.bz2 $BASE/enron/_9 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.10.tar.bz2 $BASE/enron/_10 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount enron.11.tar.bz2 $BASE/enron/_11 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount openssl.1.tar.bz2 $BASE/openssl/_1 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount openssl.2.tar.bz2 $BASE/openssl/_2 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount openssl.3.tar.bz2 $BASE/openssl/_3 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount openssl.4.tar.bz2 $BASE/openssl/_4 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount openssl.5.tar.bz2 $BASE/openssl/_5 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.1.tar.bz2 $BASE/trec/_1 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.2.tar.bz2 $BASE/trec/_2 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.3.tar.bz2 $BASE/trec/_3 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.4.tar.bz2 $BASE/trec/_4 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.5.tar.bz2 $BASE/trec/_5 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.6.tar.bz2 $BASE/trec/_6 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.7.tar.bz2 $BASE/trec/_7 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.8.tar.bz2 $BASE/trec/_8 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.9.tar.bz2 $BASE/trec/_9 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.10.tar.bz2 $BASE/trec/_10 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.11.tar.bz2 $BASE/trec/_11 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.12.tar.bz2 $BASE/trec/_12 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount trec.13.tar.bz2 $BASE/trec/_13 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
($SUDO archivemount xml.1.tar.bz2 $BASE/xml/_1 -o readonly -o allow_other -o nonempty -o uid=$USERID -o gid=$GROUPID) &
wait