simulot / immich-go

An alternative to the immich-CLI command that doesn't depend on nodejs installation. It tries its best for importing google photos takeout archives.
GNU Affero General Public License v3.0
1.2k stars 36 forks source link

Clarify discarding due to options #210

Closed jtagcat closed 1 month ago

jtagcat commented 3 months ago
$ immich-go -server=https://REDACTED -key=REDACTED upload -google-photos Google\ Photos
...
   112 discarded files because of options
...

I couldn't find any documentation or place in code where -exclude-types or equivalent would be specified. I could probably get the info with verbose logging, but since the docs doesn't cover it:

What was discarded? I didn't specify to exclude manually, may -google-photos be the culprit?

simulot commented 3 months ago

You should enable log and change the log level to INFO to have the details

$ immich-go -server=https://REDACTED -key=REDACTED -log-file=immich-go.log -log-level=INFO upload -google-photos Google\ Photos
jtagcat commented 3 months ago

Yes, I understand and did. The point here is that generic 'discarded some photos' erodes the feeling of safety / no data loss in migration.

A concrete 'excluded x because of dupe as determined by y' would be superb.

simulot commented 3 months ago

Duplicates are reported as duplicates.

simulot commented 1 month ago

With the latest version the log file is always produced with INFO level. It contains the reason while files are discarded