diff --git a/.nemo.json b/.nemo.json new file mode 100644 index 0000000..23c204d --- /dev/null +++ b/.nemo.json @@ -0,0 +1,58 @@ +[ + { + "name": "scan@multimedia", + "prot": "ftp", + "user": "scan", + "remote_host": "multimedia", + "port": 21, + "remote_path": "/", + "password": "scan", + "local_path": "/usr/data/dirk/local/mnt/scan" + }, + { + "name": "dirk@multimedia:/", + "prot": "ssh", + "user": "dirk", + "remote_host": "multimedia", + "port": 22, + "remote_path": "/", + "local_path": "/usr/data/dirk/local/mnt/multimedia" + }, + { + "name": "root@mount-mockery.de:/", + "prot": "ssh", + "user": "root", + "remote_host": "mount-mockery.de", + "port": 22, + "remote_path": "/", + "local_path": "/usr/data/dirk/local/mnt/mount-mockery" + }, + { + "name": "dirk@OwnCloud", + "prot": "dav", + "user": "dirk", + "remote_host": "https://owncloud.mount-mockery.de/", + "port": 443, + "remote_path": "remote.php/dav/files/dirk", + "local_path": "/usr/data/dirk/local/mnt/owncloud" + }, + { + "name": "dirk@alders:/data", + "prot": "ssh", + "user": "dirk", + "remote_host": "alders", + "port": 22, + "remote_path": "/data", + "local_path": "/usr/data/dirk/local/mnt/alders" + }, + { + "name": "webmaster@autismus-ufr.de:/", + "prot": "ssh", + "user": "webmaster@autismus-ufr.de", + "remote_host": "ssh.strato.de", + "port": 22, + "remote_path": "/", + "local_path": "/usr/data/dirk/data/autismus-ufr.de/sftp" + } +] + diff --git a/add_nemo_config b/add_nemo_config new file mode 100755 index 0000000..0d22dc7 --- /dev/null +++ b/add_nemo_config @@ -0,0 +1,12 @@ +#!/bin/zsh +# +SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" + +if [[ (-e ~/.nemo.json) ]]; then + echo "A nemo configuration already exists (~/.nemo.json)" + echo "Remove this configuration and start the script again" +else + echo "Creating link" + ln -vs $SCRIPTPATH/.nemo.json ~/ +fi + diff --git a/bin b/bin index d0fa24b..2ee1207 160000 --- a/bin +++ b/bin @@ -1 +1 @@ -Subproject commit d0fa24b4036cfc0c5efa577b7532bf12cfb416ef +Subproject commit 2ee1207ad3e0d78bd7c6197670a350d8a1607e62