Вопрос

I have a directory with several "dot files". I would like to symlink all these files.

I tried

$ ln -s /usr/dotfiles/* /usr/test
ln: creating symbolic link `/usr/test/*' to `/usr/dotfiles/*': No such file or directory
Это было полезно?

Решение

ln -s /usr/dotfiles/.[!.]* /usr/test

Inspired from

pavium’s answer

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top