Added function to create and mount sshfs newnumyspace file system.

This commit is contained in:
Sheldon Lee 2020-10-08 21:36:08 +08:00
parent bf8607df4d
commit 1ee6e20be8

View File

@ -20,3 +20,15 @@ cfdir()
{
cd $HOME/.config/$1
}
#sshfs into newnumyspace
nnms_fs()
{
dir_name="newnumyspace"
if [ ! -d $PWD/$dirname ]
then
echo "Created new directory $dirname at ${PWD}"
fi
sshfs unn_w19014537@newnumyspace.co.uk:/home/unn_w19014537/ newnumyspace/
echo "Mounted at $PWD/$dirname."
}