You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Philipp Lutz 1358d567a6 Symlinks now also works on embedded root filesystems relative to the system rootfs. 10 years ago
.gitignore Ignore compiled symlinks binary 11 years ago
LICENSE Project placed under the MIT license. 13 years ago
Makefile Fix large file support. fixes #1 11 years ago
Readme.md Symlinks now also works on embedded root filesystems relative to the system rootfs. 10 years ago
symlinks.8 Symlinks now also works on embedded root filesystems relative to the system rootfs. 10 years ago
symlinks.c Symlinks now also works on embedded root filesystems relative to the system rootfs. 10 years ago

Readme.md

symlinks

scan/change symbolic links

Symlinks is a simple tool that helps find and remedy problematic symbolic links on a system.

Description

Symlinks scans directories for symbolic links, identifying dangling, relative, absolute, messy, and other_fs links. It can also change absolute links to relative within a given filesystem.

Installation

Source:

$ ./configure
$ make
$ make install

Usage

Scan:

$ symlinks -r [path]
$ symlinks -rv [path]
$ symlinks -rc [path]
system rootfs, e.g. in /gpfs/sys/ubuntu11.04. Make sure to cd into rootfs before executing:
$ cd /gpfs/sys/ubuntu11.04
$ symlinks -rec [path] 

More options:

$ symlinks -h

Changes

v1.4.3

  • Fixed LFS support bug that caused erratic behavior on 32-bit systems.

v1.4.2

  • Reformatted for readability roughly based on Google style guide.
  • Fixed loss of precision due to implicit type conversion.
  • Minor documentation updates.

v1.4-1

  • Added Mac OS X compatibility.

v1.4

  • Incorporate patches from Fedora.

v1.3

  • More messy-link fixes, new -o flag for other_fs.

v1.2

  • Added -s flag to shorten links with redundant path elements.
  • Also includes code to remove excess slashes from paths.

Credit

Symlinks was created by Mark Lord mlord@pobox.com.
Maintained by J. Brandt Buckley brandt@runlevel1.com.