Files
bin/nfs_
rozbrian 304cbcc554 update
2026-01-10 20:46:22 +09:00

11 lines
212 B
Bash
Executable File

#!/bin/bash
echo "==== $1:/$2 -> $3 ===="
if [ -d "$3" ]; then
echo "Directory found: $3"
else
echo "Directory NOT found. Creating: $3"
sudo mkdir -p "$3"
echo "done.."
fi
sudo mount -t nfs $(echo $1):/$2 $3