nemon config added + bin update

This commit is contained in:
Dirk Alders 2023-06-10 22:10:03 +02:00
parent 090c5ce473
commit d9d871d449
3 changed files with 71 additions and 1 deletions

58
.nemo.json Normal file
View File

@ -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"
}
]

12
add_nemo_config Executable file
View File

@ -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

2
bin

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