Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 715 Bytes

Convert symlinks from absolute to relative.md

File metadata and controls

36 lines (26 loc) · 715 Bytes
tags
english, tutorial, til, linux, shell, symlink

Convert symlinks from absolute to relative

Install symlinks

sudo apt install symlinks

Usage

symlinks -cr /path/to/folder

symlinks help

$ symlinks -h
symlinks: scan/change symbolic links - v1.3 - by Mark Lord

Usage:	symlinks [-cdorstv] dirlist

Flags:	-c == change absolute/messy links to relative
        -d == delete dangling links
        -o == warn about links across file systems
        -r == recurse into subdirs
        -s == shorten lengthy links (displayed in output only when -c not specified)
        -t == show what would be done by -c
        -v == verbose (show all symlinks)