This is an script that searches all photos and videos from WhatsApp (name contains -WA), on your Immich library, and replaces their date with the one provided in the file name.
Usage:
API_KEY=XXXX BASE_URL=http://localhost:2283 ./immich_fix_whatsapp.shIt adds a tag to the assets (WHATSAPP_FIXED) to identify those modified resources, and not update them every time the script is executed.
