• Hello i am running a WP CLI script to regenerate images,
    seq 192000 194000 | xargs wp media regenerate —only-missing

    and i got errors, example:
    Warning: Can’t find “margot-fox-pope-francis-post” (ID 204823).

    there is anyway to save logs, so i can know which media file is not generated?

    I tried this ssh command

    seq 192000 194000 | xargs wp media regenerate —only-missing | tee -a /home/site/public_html/export.txt

    but this command save only the success IDs, i need to log the failed ID
    do you have any advice ?

    • This topic was modified 4 years, 1 month ago by tayssir.ch.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Export logs of WP CLI’ is closed to new replies.