brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: immich upload --skip-hash trades the local hash check for speed

Immich
~/tips/tip-immich-upload-skip-hash

immich upload --skip-hash --recursive directory/

Skips the CLI's local hashing before upload. Immich still deduplicates on the server.

The Immich CLI hashes every file before it uploads it. On a big folder of photos that takes a while, and there is a switch for it.

immich upload --skip-hash --recursive directory/

By default the upload command hashes each file first, so it does not upload the same file twice. The docs say you can skip this step when you are sure the files are unique, and that Immich always does its own deduplication through hashing, so the flag is only about performance. They add that with good bandwidth, skipping the hashing might be faster.

That is also the caveat. With --skip-hash the CLI sends everything, and the server decides what it already has. On a slow connection, with a folder that overlaps what is already in Immich, you would waste upload time on files that get thrown away. For a first import on a fast local network it makes more sense.

One more thing from the option list: the short form -h means --skip-hash here, not help. For help you type --help. I’d write the long form in scripts and avoid the confusion.

Like most options of immich upload, it can also be set with an environment variable, in this case IMMICH_SKIP_HASH, which is handy when you run the CLI from the Docker image.

Further reading: Immich CLI documentation

Going deeper: Guide: Immich on Unraid, back up the photos on your iPhone automatically

More Immich tips docker exec -it immich_server immich-admin enable-password-login docker exec -it immich_server immich-admin enable-maintenance-mode immich upload --album --recursive ~/Pictures/archive immich upload --ignore "**/Raw/**" --recursive ~/Pictures/2025 immich login http://192.168.1.x:2283/api <api-key> All Immich tips (7) All topics

Link