I am trying to rename multiple files with extension xyz[n]
to extension xyz
example :
mv *.xyz[1] to *.xyz
but the error is coming as - " *.xyz No such file or directory"
I am trying to rename multiple files with extension xyz[n]
to extension xyz
example :
mv *.xyz[1] to *.xyz
but the error is coming as - " *.xyz No such file or directory"
Let's say we have some files as shown below.Now i want remove the part -(ab...) from those files.
So the expected file names would be :
Below is a simple way to do it.
for detailed explanation check here
Don't know if mv can directly work using * but this would work