Question

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
Was it helpful?

Solution

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

Inspired from

pavium’s answer

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top