erl is an Easy Relative Linking tool written in Bash aimed to simplify the process of creating relative links between files and directories.
- Relative links are more portable than absolute links.
- For instance, a relative link to a file or directory may still work even if the file or directory has been moved to a different location.
- Relative links on a remote, mounted directory (i.e. a samba share) will continue to work regardless of their mount point which may differ between systems or platforms (i.e. Linux and macOS).
For the best experience on a Linux system running KDE Plasma, consider installing the erl Dolphin Service Menu in conjunction with this tool to easily use erl features right from the Dolphin file manager.
bash
5.0+
-
Ensure that you have met all of the project requirements.
-
Clone the repository:
git clone https://github.com/irfanhakim-as/erl.git ~/.erl
-
Get into the local repository:
cd ~/.erl
-
Use the installer script:
Use the help option to see other available options:
./installer.sh --help
For the most basic installation, simply run the script as is:
./installer.sh
By default, the installer will install the project to the
~/.local
prefix. Please ensure that the~/.local/bin
directory is in yourPATH
environment variable.
-
Ensure that you have installed the project successfully.
-
Use the help option to see other available options:
erl --help
-
Use the
erl
command with the desired option.