1
Hello!
I’m trying to rename a large amount of files on linux, but I’m not getting the command right. The case is as follows:
I have several files inside a directory and its subdirectories that have the following name format filename.ext? something and I need to rename them all keeping just filename.ext, that is, remove everything that is after the ? and even the ?.
I’ve tried everything commando I found on the Internet, I’ve searched the documentation of name, find, mv, etc, but I couldn’t do what I need.
List I even get with find and with ls, but when it comes to renaming, I can’t.