Yes, I'm aware of that. Using -execdir the matching path name is relative to the current directory and the find command always shows a path (unless you customize the output using -printf, but this would be an alternative or an addition to -execdir). The good new is that the shortcuts . and .. are allowed in paths and you can safely use the single dot with no effect: in other words the path
Code:
/path/to/destination/./file
is equivalent to
Code:
/path/to/destination/file
A little addition (sorry, I didn't think about that before): if by chance there are files with blank spaces in their name, you have to put double quotes around the arguments of the mv command:
Code:
find /path/to/folder/ -name '*_W*' -execdir bash -c 'echo mv "$0" "/path/to/destination/${0/_W}"' {} \;