-f for filebrowser ln
the purpose of ln's -f option: it removes existing destination files, if any, before creating the link.
This commit is contained in:
@@ -12,24 +12,24 @@ USER=anthonyscorrea@gmail.com
|
||||
/filebrowser users add $USER "" --perm.admin
|
||||
/filebrowser users update $USER --scope "users/$USER"
|
||||
mkdir -p $USERS_DIR$USER
|
||||
ln -s /srv/foundry/Data/modules $USERS_DIR$USER/foundry-modules
|
||||
ln -s /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
|
||||
ln -s /srv/foundry/Data/systems $USERS_DIR$USER/foundry-systems
|
||||
ln -s /srv/metube $USERS_DIR$USER/metube
|
||||
ln -s /srv/foundry/ $USERS_DIR$USER/foundry
|
||||
ln -sf /srv/foundry/Data/modules $USERS_DIR$USER/foundry-modules
|
||||
ln -sf /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
|
||||
ln -sf /srv/foundry/Data/systems $USERS_DIR$USER/foundry-systems
|
||||
ln -sf /srv/metube $USERS_DIR$USER/metube
|
||||
ln -sf /srv/foundry/ $USERS_DIR$USER/foundry
|
||||
|
||||
USER=bcrase@gmail.com
|
||||
/filebrowser users add $USER ""
|
||||
/filebrowser users update $USER --scope "users/$USER"
|
||||
mkdir -p $USERS_DIR$USER
|
||||
ln -s /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
|
||||
ln -s /srv/metube $USERS_DIR$USER/metube
|
||||
ln -sf /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
|
||||
ln -sf /srv/metube $USERS_DIR$USER/metube
|
||||
|
||||
USER=acorre20@gmail.com
|
||||
/filebrowser users add $USER ""
|
||||
/filebrowser users update $USER --scope "users/$USER"
|
||||
mkdir -p $USERS_DIR$USER
|
||||
ln -s /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
|
||||
ln -sf /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
|
||||
|
||||
/filebrowser users add $USER ""
|
||||
/filebrowser users update $USER --scope "users/$USER"
|
||||
|
||||
Reference in New Issue
Block a user