Well to put it simply, I have duplicate files in a folder, with this form:
file.ext
file(1).ext
file(2).ext
file(3).ext
otherfile.ext
otherfile(1).ext
otherfile(2).ext
...
I want to move only file.ext
and otherfile.ext
to another folder. Is it possible to do it in bash
?
I thought that maybe awk
would be helpful?