Efficient way to move media folder to another folder

The media library is currently organized by months and years .../uploads/2021/09/.

I'd like to go without the months and year and use the url .../uploads/ for future uploads. For consistency, I'd like to move the existing media files to .../uploads/ too

What will be a faster way to move the files instead of uploading them?

sudo mv gives me the error -bash: /usr/bin/sudo: Argument list too long.

Topic media-settings bulk media-library uploads media Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.