Added function to create and mount sshfs newnumyspace file system.
This commit is contained in:
parent
bf8607df4d
commit
1ee6e20be8
@ -20,3 +20,15 @@ cfdir()
|
|||||||
{
|
{
|
||||||
cd $HOME/.config/$1
|
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."
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user