I have tried to rename several files on my Linux system. I usedrename 's/foo/bar/g' * All the files that I wish to change are in the current directory.
It does not change the name of the files but I think it should. Any help would be appreciated.
An easy way would to do:
mv file2rename newname
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With