[SOLVED] size-match___file-size-match___folder-size-match

Discussion related to "Everything" 1.5 Alpha.
Post Reply
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

[SOLVED] size-match___file-size-match___folder-size-match

Post by tuska »

2void
size-match: | file-size-match: | folder-size-match:

regex:"^D:\\totalcmd\\Test\\Calculate\\(.*)$" sizematch:"D:\\totalcmd\\Test\\Calculate\\$1:"
regex:"^D:\\totalcmd\\Test\\Calculate\\(.*)$" file-size-match:"D:\\totalcmd\\Test\\Calculate\\$1:"

bring this result:
D:\totalcmd\Test\Calculate\1.csv
D:\totalcmd\Test\Calculate\2.csv
D:\totalcmd\Test\Calculate\5.csv

According to this image, in my opinion the file 5.csv should NOT be included in the result because the size of the file does not match.
 
2024-05-28_size-match___file-size-match.png
2024-05-28_size-match___file-size-match.png (57.22 KiB) Viewed 358 times
 
folder-size-match: also produces unexpected results for me:
regex:"^D:\\totalcmd\\Test\\(.*)$" folder-size-match:"D:\\totalcmd\\Test\\$1:"
In my opinion, the "Calculate" folder should not appear in the result.
 
2024-05-28_folder-size-match.png
2024-05-28_folder-size-match.png (42.18 KiB) Viewed 358 times
 
Please check.
Thank you!
Last edited by tuska on Tue May 28, 2024 12:17 am, edited 1 time in total.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: size-match___file-size-match___folder-size-match

Post by NotNull »

Code: Select all

regex:"^D:\\totalcmd\\Test\\Calculate\\(.*)$" sizematch:"D:\\totalcmd\\Test\\Calculate\\$1:"
regex:"^D:\\totalcmd\\Test\\Calculate\\(.*)$" file-size-match:"D:\\totalcmd\\Test\\Calculate\\$1:"
One of those paths (per query) should be C:\... instead of D:\ .... ?
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: size-match___file-size-match___folder-size-match

Post by tuska »

NotNull wrote: Mon May 27, 2024 11:50 pm

Code: Select all

regex:"^D:\\totalcmd\\Test\\Calculate\\(.*)$" sizematch:"D:\\totalcmd\\Test\\Calculate\\$1:"
regex:"^D:\\totalcmd\\Test\\Calculate\\(.*)$" file-size-match:"D:\\totalcmd\\Test\\Calculate\\$1:"
One of those paths (per query) should be C:\... instead of D:\ .... ?
Ahh, thanks!
Then the results are correct!
 
2024-05-28_size-match___file-size-match_drive D_drive C.png
2024-05-28_size-match___file-size-match_drive D_drive C.png (28.82 KiB) Viewed 351 times
 
2024-05-28_folder-size-match_drive D_drive C.png
2024-05-28_folder-size-match_drive D_drive C.png (11.7 KiB) Viewed 351 times
 
Sorry for inconvenience caused. :?
Post Reply