link-editor is editor of symbolic links.

Usage:

link-editor -l <symlink> ... -p <target> [-y|--yes]
    After the -l flag, the path to one or multiple links is specified
    for which a new target is being set. The optional --yes flag
    is used to automatically resolve suspicious situations, such as editing
    a non-existing link or creating links to a non-existent path.
    Example:
    link-editor -l /usr/bin/gcc /usr/local/bin/gcc -p /usr/bin/gcc-8

link-editor -l <link> ... -f <search_string> -r <string_to_change>
    After the -l flag, the path to one or multiple links is specified,
    among which matches are sought to replace a part (or whole) of the address
    with another. The search string is specified with the -f flag,
    the line that replaces it is specified by the -r flag.
    Example:
    link-editor -l /usr/bin/f95 -f /etc/alternatives/ -r /usr/local/bin/
    Another example:
    link-editor -l /mnt/All/*.jpg -f /mnt/PhotoStorage/ -r /home/$USER/Pictures/

link-editor -d <directory> ... -f <search_string> -r <string_to_change> [-R]
    After the -d flag, the path to one or multiple links is specified,
    among which matches are sought to replace a part (or whole) of the address
    with another.
    The search string is specified with the -f flag,
    the line that replaces it is specified by the -r flag.
    The optional -R flag allows editor to search for links in all subfolders.
    Example:
    link-editor -d Vitis/ -f /mnt/HardDisk/ -r /OtherBigStorage/ -R

link-editor --version
    It displays the version of the application.

link-editor --help
    It displays this help.

© Eugene 'Vindex' Stulin, 2018-2019
