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.

86 lines
1.9 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. symlinks
  2. ========
  3. **scan/change symbolic links**
  4. Symlinks is a simple tool that helps find and remedy problematic symbolic links on a system.
  5. Description
  6. -----------
  7. 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.
  8. Installation
  9. ------------
  10. ### Source:
  11. $ cd path/to/the/extracted/source
  12. $ make
  13. $ make install # or 'sudo make install' if you get an error
  14. If you would like to install to some other location besides the default of `/usr/local`, which usually requires admin privileges, then add `PREFIX=/some/other/path` to the end of your `make install`. For example:
  15. $ make install PREFIX=$HOME/.local
  16. ### Pre-compiled binaries:
  17. Many Linux distributions already have a version of Mark Lord's original `symlinks` in their repositories; see https://pkgs.org/search/?q=symlinks for details.
  18. If you use MacPorts, you can `sudo port install symlinks`.
  19. Usage
  20. -----
  21. ### Scan:
  22. $ symlinks -r [path]
  23. ### Show all symlinks:
  24. $ symlinks -rv [path]
  25. ### Convert absolute symlink to relative:
  26. $ symlinks -rc [path]
  27. ### More options:
  28. $ symlinks -h
  29. Changes
  30. -------
  31. #### v1.4.3
  32. - Fixed LFS support bug that caused erratic behavior on 32-bit systems.
  33. #### v1.4.2
  34. - Reformatted for readability roughly based on Google style guide.
  35. - Fixed loss of precision due to implicit type conversion.
  36. - Minor documentation updates.
  37. #### v1.4-1
  38. - Added Mac OS X compatibility.
  39. #### v1.4
  40. - Incorporate patches from Fedora.
  41. #### v1.3
  42. - More messy-link fixes, new `-o` flag for other_fs.
  43. #### v1.2
  44. - Added `-s` flag to shorten links with redundant path elements.
  45. - Also includes code to remove excess slashes from paths.
  46. Credit
  47. ------
  48. Symlinks was created by **Mark Lord** <mlord@pobox.com>.
  49. Maintained by **J. Brandt Buckley** <brandt@runlevel1.com>.