I want to create my own automatic dotfiles folder. (I will use git to use version control on my dotfiles, but that doesn't matter for the question)
I just want to symbolically link all the files and folders in ~/dotfiles with my home folder. Being not very good with bash I can't do this. Please help me with this.
I would also appreciate the following features, if possible.
- Folders are associated only with a small link
- My files may be in the dotfiles folder without the actual dot in the file name (e.g.
~/dotfiles/vimrc , rather than ~/dotfiles/.vimrc ) - It should be able to ignore some files, such as my .git file, which is stored in the same folder.
Of course, if you already know the service that provides this, it is at least as good as providing some do-yourself commands. Please note that I specifically want it to be bash or something that most likely exists on all unix machines (so I think that commands using g ++ are fine).
unix bash dotfiles
Tarrasch
source share