Rclone checksum file not in Local file system if *..\ in md5file

>pwd
 C:/es
>rclone tree .
/
├── es.exe
└── md5
    └── es.md5

1 directories, 2 files
>cat .\md5\es.md5
a6e8d197d5d461cf29ac3eaac42be216  *../es.exe
>cd md5
>ls
es.md5
>pwd
C:/es/md5
>rclone checksum md5 .\es.md5 .
ERROR : *../es.exe: file not in Local file system at //?/C:/es/md5
rclone v1.62.2
- os/version: Microsoft Windows 11 Pro for Workstations 22H2 (64 bit)
- os/kernel: 10.0.25330.1000 Build 25330.1000.1000 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: cmount
log

2023/04/03 17:53:13 DEBUG : rclone: Version "v1.62.2" starting with parameters ["C:\ProgramData\chocolatey\lib\rclone.portable\tools\rclone-v1.62.2-windows-amd64\rclone.exe" "checksum" "md5" ".\es.md5" "." "--log-file=mylogfile.txt" "--log-level" "DEBUG"]
2023/04/03 17:53:13 DEBUG : Creating backend with remote ".\es.md5"
2023/04/03 17:53:13 DEBUG : Using config file from "C:\Users\*\AppData\Roaming\rclone\rclone.conf"
2023/04/03 17:53:13 DEBUG : fs cache: adding new entry for parent of ".\es.md5", "//?/C:/es/md5"
2023/04/03 17:53:13 DEBUG : Creating backend with remote "."
2023/04/03 17:53:13 DEBUG : fs cache: renaming cache item "." to be canonical "//?/C:/es/md5"
2023/04/03 17:53:13 ERROR : es.md5: sum not found
2023/04/03 17:53:13 ERROR : mylogfile.txt: sum not found
2023/04/03 17:53:13 ERROR : *../es.exe: file not in Local file system at //?/C:/es/md5
2023/04/03 17:53:13 NOTICE: Local file system at //?/C:/es/md5: 1 files missing
2023/04/03 17:53:13 NOTICE: 2 hashes missing
2023/04/03 17:53:13 NOTICE: Local file system at //?/C:/es/md5: 3 differences found
2023/04/03 17:53:13 NOTICE: Local file system at //?/C:/es/md5: 3 errors while checking
2023/04/03 17:53:13 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 4 (retrying may help)
Checks: 2 / 2, 100%
Elapsed time: 0.0s

2023/04/03 17:53:13 DEBUG : 2 go routines active
2023/04/03 17:53:13 Failed to checksum with 4 errors: last error was: file not in Local file system at //?/C:/es/md5

Rclone is complaining about this line.

It says the file path for the MD5 sum is *../es.exe but that doesn't look like a valid path to me.

Same error if remove *:

cat sum
be62265282166584f2946d87454b214d  ../hello.c

tree ..
..
├── hello.c
└── md5
    └── sum

rclone checksum md5 sum .
ERROR : ../hello.c: file not in Local file system at /data/data/com.termux/files/home/code/md5

rclone don't know what .. mean in sumfile

It deliberately doesn't process .. as that is a good way of making security problems.

oh, you mean this is by design?

Yes - that is the case. Why would you be using .. in there anyway?

Because I just downloaded a game from repack game which has .. in the md5sum file. I want to use rclone checksum, but I get an error.In the end I used other quickhash check tools

I'd avoid that as those open up security holes as that's generally something that should not be used. I'd adjust the checksum to be proper.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.