From: Shane Jaroch Date: Thu, 8 Jan 2026 23:35:16 +0000 (-0500) Subject: rclone X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=5cedeeed30215a1660fea6d6ddbeff8a52269381;p=gamesguru%2Fgit-remote-gcrypt.git rclone --- diff --git a/git-remote-gcrypt b/git-remote-gcrypt index a667678..87fe8dc 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -1358,9 +1358,12 @@ elif [ "$NAME" = "gcrypt-clean" ]; then # Get all files in the remote # For rsync backends, list files directly via rsync --list-only (awk extracts filename). + # For rclone backends, list files via rclone lsf. # For git backends, list files from the gcrypt branch tree. if isurl rsync "$URL"; then remote_files=$(rsync --no-motd --list-only "$(rsynclocation "$URL")/" | awk '{print $NF}' | grep -vE '^\.$|^\.\.$' || :) + elif isurl rclone "$URL"; then + remote_files=$(rclone lsf "$(rclonelocation "$URL")" 2>/dev/null || :) else remote_files=$(git ls-tree --name-only "$Gref" 2>/dev/null || :) fi