Small tool that creates relative symlinks from given paths. A file containing a bunch of paths can also be given to create multiple symlinks in a single run.
relative
and absolute
paths combination supported/*
and /**
composer require "staempfli/symlinker-pro":"~1.0"
wget https://github.com/staempfli/symlinker-pro/releases/download/<version>/symlinker-pro.phar
chmod +x ./symlinker-pro.phar
sudo mv ./symlinker-pro.phar /usr/local/bin/symlinker-pro
2 possibilities:
Single symlink:
symlinker-pro create:link <source_path> <destination_path>
Multiple symlinks from file:
symlinker-pro create:from:file <file_path>
A symlink definition per line with =>
symbol to separate source_path
and destination_path
:
source_path=>destination_path
source_path2=>destination_path2
source_path3=>destination_path3
If your destination paths should be calculated from a different path than the current root, you can use --dest-prefix-path
option when running create:from:file
GNU General Public License, version 3 (GPLv3)
(c) 2016 Staempfli AG