Closed fOO223Fr closed 1 month ago
I've the same problem
@fOO223Fr
I did a similar test:
./immich-go -server=http://localhost:2283 -key=xxxx -log-file=test.log upload -dry-run -exclude-files=BLOG/* -exclude-files=*/Database/* "/test-data/#471 banned files"
INFO | scanned image file | file=BLOG/PXL_20231006_063108407.jpg time="2024-09-08T03:08.35 CEST"
INFO | discarded file | file=BLOG/PXL_20231006_063108407.jpg reason="banned file" time="2024-09-08T03:08.35 CEST"
INFO | scanned image file | file=BLOG/PXL_20231006_063121958.jpg time="2024-09-08T03:08.35 CEST"
INFO | discarded file | file=BLOG/PXL_20231006_063121958.jpg reason="banned file" time="2024-09-08T03:08.35 CEST"
INFO | scanned image file | file=Folder/Database/PXL_20231006_063357420.jpg time="2024-09-08T03:08.35 CEST"
INFO | discarded file | file=Folder/Database/PXL_20231006_063357420.jpg reason="banned file" time="2024-09-08T03:08.35 CEST"
Files are scanned... but discared
It's working.
I'll change the way for reporting those excluded files.
For the next major version
Command:
~/Downloads/immich-go_Linux_x86_64/immich-go -server=http://IP:PORT -key=FAKEKEY -log-level=INFO -log-file=./import.log upload -dry-run=TRUE -exclude-types=".db,.data,.iPhoto,.plist,.DS_Store" -exclude-files=iLifeShared/ -exclude-files=Database/ -exclude-files=Attachments/ -exclude-files=Auto\ Import/ -exclude-files=Thumbnails/ -exclude-files=Previews/ -exclude-files=BLOG/ -exclude-files=.* /PATH/TO/FOLDER/
Expectation: Below won't be scanned but it were:
BLOG/*
*/Database/*
Actual: It is still scanned. 1.
2.