• Resolved alexliii

    (@alexliii)


    Hello,

    Wp-cli seems a much efficient method to rename images, but it seems that it always rename all of image each time.

    If there are lots of images like 15K images, it quite easy cause Mysql crashed although we have 16g memory.

    So, anyway to exclude the renamed images, but only rename the image that have not been renamed yet?

    Or, it would be great if it exlude those images by default? Can we expect the feature?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Val Meow

    (@valwa)

    Hey @alexliii! ??

    You have two options: you can ignore the media, and they won’t be renamed. Alternatively, you can specify the ID of the media you want to rename using the CLI command. This way, you can create your own script to batch rename a certain amount of media using this method. Hope this helps!

    Thread Starter alexliii

    (@alexliii)

    Hello,

    Thanks for reply.

    Mostly, we import but upload manually about 2000 images every day, and that is why we would like to rename image by wp-cli.

    Renaming by specify the id seems not so efficient.

    If it is possible please take it as feature request.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Anyway exclude the renamed image by Wp-cli?’ is closed to new replies.