Browse Source

Incremented version to 1.4-1, eliminated .lsm file and added Readme file.

devel
J. Brandt Buckley 13 years ago
parent
commit
ea28de1be4
  1. 66
      Readme.md
  2. 2
      symlinks.8
  3. 2
      symlinks.c
  4. 36
      symlinks.lsm

66
Readme.md

@ -0,0 +1,66 @@
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]
### Show all symlinks:
$ symlinks -rv [path]
### Convert absolute symlinks to a relative:
$ symlinks -rc [path]
### More options:
$ symlinks -h
Changes
-------
* 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 originally created by Mark Lord (mlord@pobox.com).

2
symlinks.8

@ -1,4 +1,4 @@
.TH SYMLINKS 8 "October 2008" "Version 1.4"
.TH SYMLINKS 8 "July 2012" "Version 1.4-1"
.SH NAME
symlinks \- symbolic link maintenance utility

2
symlinks.c

@ -25,7 +25,7 @@
#define PATH_MAX 1024
#endif
#define progver "%s: scan/change symbolic links - v1.3 - by Mark Lord\n\n"
#define progver "%s: scan/change symbolic links - v1.4-1 - by Mark Lord\n\n"
static char *progname;
static int verbose = 0, fix_links = 0, recurse = 0, delete = 0, shorten = 0,
testing = 0, single_fs = 1;

36
symlinks.lsm

@ -1,36 +0,0 @@
Begin2
Title =symlinks - scan/change symbolic links
Version =1.4
Desc1 =Scans directories for symbolic links, and identifies dangling,
Desc2 =relative, absolute, messy, and other_fs links. Can optionally
Desc3 =change absolute links to relative within a given filesystem.
Desc4 =Recommended for use by anyone developing and/or maintaining
Desc5 =a Linux FTP site or distribution or CD-ROM.
Author =Mark Lord
AuthorEmail =mlord@pobox.com
Maintainer =Mark Lord
MaintEmail =mlord@pobox.com
Site1 =tsx-11.mit.edu
Path1 =/pub/linux/sources/usr.bin
File1 =symlinks-1.4.tar.gz
FileSize1 =5KB
Required1 =
Required2 =
Required3 =
Required4 =
CopyPolicy1 =(c) Mark Lord, freely distributable
CopyPolicy2 =
Keywords =symbolic links cd cdrom CD-ROM distribution
Comment1 =v1.4 incorporate patches from Fedora
Comment1 =v1.3 more messy-link fixes, new -o flag for other_fs
Comment2 =v1.2 added -s flag to shorten links with redundant
Comment3 =path elements. Also includes code to remove excess
Comment4 =slashes from paths.
RelFiles1 =
RelFiles2 =
RelFiles3 =
Entered =09OCT2009
EnteredBy =Mark Lord
CheckedEmail =mlord@pobox.com
End
Loading…
Cancel
Save