I got a bunch of files with the filename messed up. All the file names have the same beginning which appear to be windows file directories. The problem is there are 700+ files and I really don't want go through and manually rename all of them. These are examples of the file names (Note: None of these have file directories):
The important take away is that each file has
G:some\really\long\file\path\then\the\ before the file name that I would like.
So I would want the above files to look like:
I've tried the
rename command and was not successful. I am still new with Linux and really am not sure on how to go about it or really what to google. Any help would be appreciated.