I have a script that should enumrate a remote S3 compatible container. But it does not list any folders.
for /f "delims=" %%D in ('"%rclone_exe%" lsd "%SRC_ROOT%" --dirs-only --recursive') do (
set /a count+=1
set "opt[!count!]=%%~nD"
echo !count!. %%~nD
I know it is configured correctly, because I have the reserve script and it works fine.
asdffdsa
(jojothehumanmonkey)
October 9, 2025, 3:09pm
2
welcome to the forum,
need to use use a rclone debug log
what is it?
if you need additional help, when you posted you were asked to answer basic questions.
so far, you have not answered any of them??
By it I mean that configuration between rclone and the remote container is set up correctly.
asdffdsa
(jojothehumanmonkey)
October 9, 2025, 5:09pm
4
Alan_Alyas:
--dirs-only
that is not a valid flag. a debug log would show that
asdffdsa
(jojothehumanmonkey)
October 9, 2025, 7:16pm
5
echo off
setlocal enabledelayedexpansion
set _cmd="%rclone_exe% lsf %src_root% --dirs-only --dir-slash=false"
for /f %%D in ('%_cmd%') do (
set /a "count+=1"
set "opt[!count!]=%%D"
echo !count!. %%D)
1. folder01
2. folder02
3. folder03
system
(system)
Closed
November 8, 2025, 7:16pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.