Sidebar

SHELL

"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
SHELL chimay 1 year ago 100%
announcement : link-batch.zsh, to generate symlinks batches

cross-posted from: https://lemmy.world/post/1838642 > [link-batch](https://github.com/chimay/scripts/blob/master/zsh/link-batch.zsh) is a minimalist script that generate symlinks from a list in a text file. Usage : > > ```sh > link-batch.zsh link-list.txt > ``` > > where `link-list.txt` contains two columns : the first one for the links and the second one for the targets. Example : > > ``` > ~/.config/kitty ~/myfiles/config/kitty > ~/.config/nvim ~/myfiles/config/neovim > ~/.config/MuseScore ~/myfiles/config/MuseScore/$HOST > ... > ``` > > The two columns must be separated by a tab. > > Can be used to quickly deploy all home links in a fresh box.

1
0