Updates
This commit is contained in:
15
scripts/shell/archived/rclone-windows-mount-dirs.sh
Executable file
15
scripts/shell/archived/rclone-windows-mount-dirs.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# works but create processes on Windows and files can't be interacted with from WSL
|
||||
|
||||
rclone_path=/mnt/e/programs/rclone-v1.66.0-windows-amd64
|
||||
rclone_path_windows=E:\\programs\\rclone-v1.66.0-windows-amd64
|
||||
rclone_bin=$rclone_path/rclone.exe
|
||||
rclone_mount_path=E:\\home\\Documents\\sync
|
||||
|
||||
rclone_config_path_symlink=$rclone_path/rclone.conf
|
||||
cp ~/.config/rclone/rclone.conf $rclone_config_path_symlink
|
||||
|
||||
rclone_mount_cmd="$rclone_bin --config $rclone_path_windows\\rclone.conf mount"
|
||||
$rclone_mount_cmd gdrive-zakdragonbites: $rclone_mount_path\\gdrive-zakdragonbites &
|
||||
$rclone_mount_cmd --vfs-cache-mode writes nextcloud-pudimxyz-cloud: $rclone_mount_path\\nextcloud-pudimxyz-cloud &
|
||||
Reference in New Issue
Block a user