2

I need something like

ln -s /from/*.so

But ln doesn't allow such. So how would you do then?

1 Answer 1

4

via shell-builtins (and globoperator)

from l in /from/*.so; do ln -s "$l"; done

via find

find /from/ -name "*.so" -exec ln -s '{}' ';'

doing it via find is better since it works better for huge amount of files.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .