slrm - symlink remove
slrm tgt_dir grep_pat
tgt_dir - dir to remove symlinks from. grep_pat - grep arg used to filter the long dir listing of tgt_dir for symlinks to be removed.
Remove symlinks which match regular expression grep_pat from tgt_dir. Symlinks that pass thru the following pipe are removed: ls -l | grep $grep_pat See slmk to generate a new set of symlinks for an application bin dir.
This cmd is dangerous. It can save a lot of work if used carefully. It can cause a lot of work if used carelessly. NOTE: Preliminary use of the -n option is strongly advised.
cfm-cmds-list, slrm
Copyright (c) 1998 1999 Derald Metzger This file is part of the cfm pkg (GPL).