The below script finds a file, then creates a hard link in a destination path.
find /path/to/files -name "example" -exec ln {} /path/to/destination/ \;
I would like to create the link using the following
'y/./ /; s/[()]//g; s/^([^0-9]+)([0-9]+).*\s([a-z0-9]+)$/\1(\2).\3/;'
I've been trying to do this for a couple hours now. But with no success.
I figured it out!