Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • I will keep that in mind for my other VM for CentOS. But, this one is CloudLinux configured by a web hosting company and restricts installations heavily. I cannot install it your way or cpan File::Rename per permissions. Commented Oct 20, 2015 at 16:38
  • You could look at this php solution. Commented Oct 20, 2015 at 17:01
  • My only issue with that solution is that it also renames the file extensions, which I am trying to preserve. Basically, I am trying to add some alphanumeric sequence at the beginning of the file name, add -mg4sm to the end of the file name but before the file extension, and remove the original file name. Or, replace the original file name with an alphanumeric sequence in front of the file name and mg4sm in the end of the file name while preserving the extension. Can you help me do this? Commented Oct 20, 2015 at 17:18
  • I provided, in a separate answer, a php script to do what you want. Commented Oct 20, 2015 at 17:50