diff --git a/scripts/shell/rclone-sync-google-drive.sh b/scripts/shell/archived/rclone-sync-google-drive.sh similarity index 88% rename from scripts/shell/rclone-sync-google-drive.sh rename to scripts/shell/archived/rclone-sync-google-drive.sh index 371dc9d..d1ec40e 100755 --- a/scripts/shell/rclone-sync-google-drive.sh +++ b/scripts/shell/archived/rclone-sync-google-drive.sh @@ -1,6 +1,6 @@ #!/bin/zsh -SYNCS_PATH=/mnt/e/home/Documents/Sync/ +SYNCS_PATH=/mnt/e/home/Documents/sync/ rclone copy --progress --drive-skip-gdocs --fast-list --transfers=25 --checkers=50 gdrive-zakdragonbites: $SYNCS_PATH/gdrive-zakdragonbites rclone copy --progress --drive-skip-gdocs --fast-list --transfers=25 --checkers=50 $SYNCS_PATH/gdrive-zakdragonbites gdrive-zakdragonbites: diff --git a/scripts/shell/rclone-sync-nextcloud.sh b/scripts/shell/archived/rclone-sync-nextcloud.sh similarity index 82% rename from scripts/shell/rclone-sync-nextcloud.sh rename to scripts/shell/archived/rclone-sync-nextcloud.sh index 6c5cd85..598ba87 100755 --- a/scripts/shell/rclone-sync-nextcloud.sh +++ b/scripts/shell/archived/rclone-sync-nextcloud.sh @@ -1,6 +1,6 @@ #!/bin/zsh -SYNCS_PATH=/mnt/e/home/Documents/Sync/ +SYNCS_PATH=/mnt/e/home/Documents/sync/ rclone copy --progress $SYNCS_PATH/nextcloud-pudimxyz-cloud nextcloud-pudimxyz-cloud: rclone copy --progress nextcloud-pudimxyz-cloud: $SYNCS_PATH/nextcloud-pudimxyz-cloud diff --git a/scripts/shell/rclone-syncs.sh b/scripts/shell/archived/rclone-syncs.sh similarity index 100% rename from scripts/shell/rclone-syncs.sh rename to scripts/shell/archived/rclone-syncs.sh diff --git a/scripts/shell/archived/rclone-windows-mount-dirs.sh b/scripts/shell/archived/rclone-windows-mount-dirs.sh new file mode 100755 index 0000000..fc8066b --- /dev/null +++ b/scripts/shell/archived/rclone-windows-mount-dirs.sh @@ -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 & diff --git a/scripts/shell/furry-commission-ideas-add-entry.sh b/scripts/shell/furry-commission-ideas-add-entry.sh new file mode 100755 index 0000000..fa7580c --- /dev/null +++ b/scripts/shell/furry-commission-ideas-add-entry.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +cur_dir=`pwd` +furry_commission_ideas_path=/mnt/e/home/Documents/sync/gdrive-zakdragonbites/furry-commission-ideas +furry_commission_ideas_urls_filename="urls.txt" +media_url=$1 +scripts_path=~/repos/cloudalb/personal-devboot/scripts/shell + +cd $furry_commission_ideas_path +media_filename=`$scripts_path/gdl.sh $media_url` +media_filename=`basename $media_filename` +echo "$media_filename: $media_url" >> $furry_commission_ideas_urls_filename diff --git a/scripts/shell/gdl-update-todo.sh b/scripts/shell/gdl-update-todo.sh new file mode 100755 index 0000000..8cdab33 --- /dev/null +++ b/scripts/shell/gdl-update-todo.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +gallery_dl_path=/mnt/e/home/Documents/Data\ hoarding +cd "$gallery_dl_path" + +urls=($(grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" -i "$gallery_dl_path/todo.txt")) + +for url in ${urls[@]}; do gallery-dl $url; done