So I have a find command as below which finds the libclntsh.so.*
files in a directory instantclient
.
find instantclient -type f -name "*libclntsh\.so\.[0-9]*\.[0-9]*"
This results in for e.g.,
instantclient/libclntsh.so.11.1
How do I now ln
within instantclient
directory, ln -s libclntsh.so.11.1 libclntsh.so
all with a find
command in combination with exec
I should mention here that I DO NOT want to cd
into instantclient
.
And this is for Alpine Linux.