Browse Source

nemon config added + bin update

master
Dirk Alders 1 year ago
parent
commit
d9d871d449
3 changed files with 71 additions and 1 deletions
  1. 58
    0
      .nemo.json
  2. 12
    0
      add_nemo_config
  3. 1
    1
      bin

+ 58
- 0
.nemo.json View File

@@ -0,0 +1,58 @@
1
+[
2
+    {
3
+        "name": "scan@multimedia",
4
+        "prot": "ftp",
5
+        "user": "scan",
6
+        "remote_host": "multimedia",
7
+        "port": 21,
8
+        "remote_path": "/",
9
+        "password": "scan",
10
+        "local_path": "/usr/data/dirk/local/mnt/scan"
11
+    },
12
+    {
13
+        "name": "dirk@multimedia:/",
14
+        "prot": "ssh",
15
+        "user": "dirk",
16
+        "remote_host": "multimedia",
17
+        "port": 22,
18
+        "remote_path": "/",
19
+        "local_path": "/usr/data/dirk/local/mnt/multimedia"
20
+    },
21
+    {
22
+        "name": "root@mount-mockery.de:/",
23
+        "prot": "ssh",
24
+        "user": "root",
25
+        "remote_host": "mount-mockery.de",
26
+        "port": 22,
27
+        "remote_path": "/",
28
+        "local_path": "/usr/data/dirk/local/mnt/mount-mockery"
29
+    },
30
+    {
31
+        "name": "dirk@OwnCloud", 
32
+        "prot": "dav", 
33
+        "user": "dirk", 
34
+        "remote_host": "https://owncloud.mount-mockery.de/", 
35
+        "port": 443, 
36
+        "remote_path": "remote.php/dav/files/dirk",
37
+        "local_path": "/usr/data/dirk/local/mnt/owncloud"
38
+    },
39
+    {
40
+        "name": "dirk@alders:/data",
41
+        "prot": "ssh",
42
+        "user": "dirk",
43
+        "remote_host": "alders",
44
+        "port": 22,
45
+        "remote_path": "/data",
46
+        "local_path": "/usr/data/dirk/local/mnt/alders"
47
+    },
48
+    {
49
+        "name": "webmaster@autismus-ufr.de:/", 
50
+        "prot": "ssh", 
51
+        "user": "webmaster@autismus-ufr.de", 
52
+        "remote_host": "ssh.strato.de", 
53
+        "port": 22, 
54
+        "remote_path": "/",
55
+        "local_path": "/usr/data/dirk/data/autismus-ufr.de/sftp"
56
+    }
57
+]
58
+

+ 12
- 0
add_nemo_config View File

@@ -0,0 +1,12 @@
1
+#!/bin/zsh
2
+#
3
+SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4
+
5
+if [[ (-e ~/.nemo.json) ]]; then
6
+    echo "A nemo configuration already exists (~/.nemo.json)"
7
+    echo "Remove this configuration and start the script again"
8
+else
9
+    echo "Creating link"
10
+    ln -vs $SCRIPTPATH/.nemo.json ~/
11
+fi
12
+

+ 1
- 1
bin

@@ -1 +1 @@
1
-Subproject commit d0fa24b4036cfc0c5efa577b7532bf12cfb416ef
1
+Subproject commit 2ee1207ad3e0d78bd7c6197670a350d8a1607e62

Loading…
Cancel
Save