Various updates
This commit is contained in:
parent
12f726a4fa
commit
324fe1adba
4 changed files with 18 additions and 1 deletions
|
@ -17,5 +17,9 @@ function port-forward {
|
|||
}
|
||||
|
||||
function map-sshfs {
|
||||
sshfs -o idmap=user -o workaround=rename $USER'@'$1':'$2 $HOME'/Mounts/'$3
|
||||
if [ $# -eq 0 ]; then
|
||||
echo Usage: map-sshfs HOST DIRECTORY MOUNT
|
||||
else
|
||||
sshfs -o idmap=user -o workaround=rename $USER'@'$1':'$2 $HOME'/Mounts/'$3
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue