Commit f6a7a2c7 authored by Christoph Häfner's avatar Christoph Häfner

Use sshfs mount option "nonempty"

so that the command still works despite the gitkeep file making the
folder non-empty
parent 868e8f8b
#!/bin/bash
echo "Mounting share/bilder"
mkdir -p ./bilder
sshfs -o reconnect -o compression=yes hugo:/home/share/bilder/ bilder/
sshfs -o reconnect -o nonempty -o compression=yes hugo:/home/share/bilder/ bilder/
echo "Mounting christoph/Archiv"
mkdir -p ./archiv
sshfs -o reconnect -o compression=yes hugo:/home/christoph/Archiv/ archiv/
sshfs -o reconnect -o nonempty -o compression=yes hugo:/home/christoph/Archiv/ archiv/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment