• Resolved alexliii

    (@alexliii)


    Hello,

    This seems a quite useful plugin for renaming media of a Woocommerce site if there are lots of media files.

    So, questions before go pro:

    1# Wp-cli is a effecient way to rename file?

    2# How to run wp-cli for this plugin?

    I checked your official documents at https://meowapps.com/media-file-renamer/tutorial/#wp-cli

    Should we enter the directory like /var/www/mysite.com/htdocs/wp-content/uploads, and then run the following line?

    wp media-file-renamer rename_all

    3# What does the following entry #50 exactly mean:

    To rename the Media entry #50

    Does it mean fifty media file, or the id of a media file please?

    Thanks for the clarification.

    • This topic was modified 1 year, 10 months ago by alexliii.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    WP-CLI is the best way to perform long-running processes in WordPress, always!

    If you don’t know about WP-CLI, I suggest watching some YouTube tutorials, or some documentation about it. You shouldn’t use it only for Media File Renamer, it can be used for various other tasks.

    Then, there is nothing specific about WP-CLI in regards to Media File Renamer ?? You don’t need to be in a specific directory, WP-CLI runs in the context of your website (so it’s not related to the directory you are in).

    For your 3rd question, it’s for renaming a specific Media ID.

    I hope it helps ??

    Thread Starter alexliii

    (@alexliii)

    Hello @tigroumeow,

    Thanks for clarifying,.

    You are right, I am not familiar with Wp-cli, and I am ready to learn it if needed:)

    I recheck your documentation today at https://meowapps.com/media-file-renamer/tutorial/#wp-cli, but it seems there is no command line to ONLY rename the new images or the images that have not been renamed?

    Yes, there is a mass of images on our site, and the free version is working well manually. So, for the images that already were renamed, Wp-cli will ignore them? or it will recheck and rename them again?

    Thanks

    • This reply was modified 1 year, 10 months ago by alexliii.
    • This reply was modified 1 year, 10 months ago by alexliii.
    Plugin Author Jordy Meow

    (@tigroumeow)

    Basically, the features in WP-CLI as the same ones as the ones in the Renamer Dashboard, they work the same way.

    In the case of “rename_all”, it only tries to rename the unlocked files. If you have renamed other files before, they might have been locked, or already automatically renamed, and they will not need to be renamed again (and therefore, it will be instant; they will not require any processing time as they will not be processed).

    So normally, you can always use “rename_all” ??

    Thread Starter alexliii

    (@alexliii)

    Oh, that sounds good, and I understand the renamed files will be ignored if run “Rename All”.

    By the way, can I deactivate the plugin if operation in WP-Cli, I am just thinking someone will run it at dashboard at the same time when I run WP-cli command line, is there potential issue or conflict?

    Maybe it is silly question, and sorry that I am not coding background:)

    Thanks

    Plugin Author Jordy Meow

    (@tigroumeow)

    By the way, can I deactivate the plugin if operation in WP-Cli, I am just thinking someone will run it at dashboard at the same time when I run WP-cli command line, is there potential issue or conflict?

    Don’t worry, only the admin can use it ?? However, I understand your concern, and I will also add an option to disable the Renamer Dashboard completely in the UI. You can already disable the Renamer Column if you like.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Questions upon wp-cli please’ is closed to new replies.