[comp.unix.questions] Directory management shell

matthew@uvabick.UUCP (Matthew D. Lewis) (02/07/89)

Hello!  I am a Unix novice, so perhaps the answer to this question is 
well-known, but...

Is there such a thing as a directory management shell for a Unix system, 
something along the lines of the DOS shells?  I have a directory (or two :-)
full of text files which I need to sort out.  Something that would help make
this process less tedious would be appreciated.  

Thanks in advance.  E-mail or posting welcome, summary if justified.


-- 
Matthew Lewis, University of Amsterdam		Grote Bickersstraat 72
31-20-52 51 220					1013 KS  Amsterdam
UUCP:	mcvax!uvabick!matthew			The Netherlands
BITNET:	a717matt@hasara11			CIS:   [73717,3711]

gwyn@smoke.BRL.MIL (Doug Gwyn ) (02/09/89)

In article <458@uvabick.UUCP> matthew@uvabick.UUCP (Matthew D. Lewis) writes:
>Is there such a thing as a directory management shell for a Unix system, 
>something along the lines of the DOS shells?  I have a directory (or two :-)
>full of text files which I need to sort out.  Something that would help make
>this process less tedious would be appreciated.  

Not being familiar with "DOS shells" I'm not sure what it is that
you really want, but there should be no problem using the Bourne
shell to shuffle through files etc.  For example, I often do
	for i in *
	do	opg $i	# my paginator, similar to "more"
		if ask Remove $i\?
		then	rm -f $i
		fi
	done
"ask" is a little utility inspired by one John Quarterman came up
with when we worked at the same company years ago, that asks the
question, gets a Y or N response, and exits with appropriate status.
It comes in really handy for uses such as this one.  You could also
use "pick" as described in Kernighan & Pike's "The UNIX Programming
Environment" for selecting subsets of files, but "ask" is better for
browsing.  (It's provided as part of the Adventure Shell distribution.)

m1tag00@fed.frb.gov (Tim A. Grunwald) (02/09/89)

	Gnu Emacs has a directory editor that is as good as any
DOS directory management shell.  Check it out.

	Tim Grunwald
	Federal Reserve Board, Washington, DC, 20551
	uucp: uunet!fed!m1tag00   internet: m1tag00@fed.frb.gov

wyle@solaris.UUCP (Mitchell Wyle) (02/11/89)

In article <9623@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>In article <458@uvabick.UUCP> matthew@uvabick.UUCP (Matthew D. Lewis) writes:
>>Is there such a thing as a directory management shell for a Unix system, 
>>something along the lines of the DOS shells?  I have a directory (or two :-)
>Not being familiar with "DOS shells" I'm not sure what it is that

He meant (I assume) a *VISUAL* environement like Xdos or my menu-shell
for suns (msh) which lets you navigate through directory trees and
perform operations by pointing, selecting with a mouse (or function keys
in dos shells).  Unix is in the stone age as far as powerful directory
browsing utilities go.  -Mitch

-- 
-Mitchell F. Wyle                         wyle@ethz.uucp
Institut fuer Informationsysteme          wyle@inf.ethz.ch
ETH Zentrum / 8092 Zurich, Switzerland    +41 1 256 5237