1 if [ "$CASTOR_USER_POOL" = "" ]
3 CASTOR_USER_POOL=$STAGE_POOL
6 if [ "$CASTOR_BIN" = "" ]
9 CASTOR_BIN=`dirname $nsls`
12 if [ ! -d $CASTOR_BIN ]
14 printf "CASTOR is not supported on this platform.\n"
18 ###########################################################################
21 printf "CASTOR Implementation:\n\n"
22 printf "Usage: alifs [-help][-p <pool>] <command [options]> \n"
23 printf " ls [-cdilRTu] [--class] [--comment] path\n"
24 printf " mv oldname newname... \n"
25 printf " rm [-f] [-i] [-r] dirname... \n"
26 printf " mkdir [-m absolute_mode] [-p] dirname...\n"
27 printf " cp [-s maxsize] f1 f2 \n"
28 printf " cp f1 <dir2> \n"
31 ###########################################################################
36 ###########################################################################
39 $CASTOR_BIN/nsmkdir $*
41 ###########################################################################
44 $CASTOR_BIN/nsrename $*
46 ###########################################################################
51 ###########################################################################