diff --git a/_CONFIGS/docker config.md b/_CONFIGS/docker config.md new file mode 100644 index 0000000..ed2d9fb --- /dev/null +++ b/_CONFIGS/docker config.md @@ -0,0 +1,27 @@ +# /etc/docker/daemon.json at .10 +{ + "runtimes": { + "nvidia": { + "args": [], + "path": "/usr/bin/nvidia-container-runtime" + } + }, + "storage-driver": "overlay2", + "data-root": "/mnt/appx/docker_host" +} + + +# /etc/docker/daemon.json at .11 + + "runtimes": { + "nvidia": { + "args": [], + "path": "nvidia-container-runtime" + } + }, + "data-root": "/mnt/apps/docker" +} + + + + diff --git a/linux/tasks/rsync local folders.sh b/linux/tasks/rsync local folders.sh new file mode 100644 index 0000000..7a9fe4f --- /dev/null +++ b/linux/tasks/rsync local folders.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +source_dir="/mnt/storage/nextcloud/popov/files/PORTABLE/" +destination_dir="/mnt/nas4T/DOBY/Portable/" + +# Check if the source directory exists +if [ ! -d "$source_dir" ]; then + echo "Source directory not found: $source_dir" + exit 1 +fi + +# Check if the destination directory exists +if [ ! -d "$destination_dir" ]; then + echo "Destination directory not found: $destination_dir" + exit 1 +fi + +# Loop through the subdirectories in the source directory +for subdir in "$source_dir"/*; do + if [ -d "$subdir" ]; then + subfolder=$(basename "$subdir") + echo "Syncing $subfolder..." + rsync -ah --info=progress2 --relative --rsync-path="mkdir -p '$destination_dir' && rsync" "$source_dir$subfolder/" "$destination_dir" + fi +done + +echo "All subfolders synced." diff --git a/linux/tasks/start_vnc.sh b/linux/tasks/start_vnc.sh new file mode 100644 index 0000000..680743e --- /dev/null +++ b/linux/tasks/start_vnc.sh @@ -0,0 +1,7 @@ +#!/bin/bash +vncserver :1 -geometry 1920x1080 + +#and novnc: +/usr/share/novnc/utils/launch.sh --vnc localhost:5901 + +