[ale] File System for Newbs
Dylan Northrup
docx at io.com
Tue Jul 28 11:04:10 EDT 2009
A long time ago, (28.07.09), in a galaxy far, far away, Ed Cashin wrote:
:=A nice alternative to manipulating $PATH or other shell
:=things for each package is to use symlinks in /opt/bin and
:=/opt/man.
:=
:= $ su
:= # cd /opt/bin
:= # file foo
:= foo: symbolic link to ../foo-1.2.2/bin/foo
:= # rm foo
:= # ln -s ../foo-1.2.3/bin/foo
:= # cd ../man/1
:= # rm foo.1
:= # ln -s ../../foo-1.2.3/share/man/1/foo.1
:=
:=It's usually not too hard to use shell loops with "find" to handle
:=multiple files.
There was a program I used a decade ago named 'depot' which did this sort of
management for you.
--
Dylan Northrup - docx at io.com - http://www.io.com/~docx/
"Harder to work, harder to strive, hard to be glad to be alive, but it's
really worth it if you give it a try." -- Cowboy Mouth, 'Easy'
More information about the Ale
mailing list