[net.unix] NSWP for UNIX?

ggall@apg-4.ARPA (Gene Gall AMSTE-MS 4971) (05/28/85)

     Are you familiar with "nswp" (a public domain program for
CP/M-based micro's)?  How hard would it be to come up with a
UNIX-equivalent?
     "nswp" allows CP/M users to step through their directory, one
file at a time, and do various things (skip it, view it,
squeeze/unsqueeze, or tag it for "deletion" or "mass copy", etc.).
Users have menu-option at each file to "delete all tagged files",
"copy all tagged files", etc.
    A UNIX-version could allow for "mass file-archival" (vs. mass
copy) and (1) move tagged files to some directory which could serve as
the "pick-up point" for an archival utility (run weekly, for
example)...and (2) add a "ls -l" entry to the users' archival
directory (/usr/ARCHIVES) which would let the user keep track of what
he archived (ie, an index).
     Such a comprehensive UNIX program would really help Systems
Administrators manage user file-space.  Many users would clean up
their stuff if some tools was available to help them.  If nothing
else, just stepping them through their directory (file at a time) and
allowing them to "skip", "view", or "tag for deletion"; with a "delete
tagged files and exit" as a 4th option.
     What do you think?
                                               Gene

lacasse@rand-unix.ARPA (Mark LaCasse) (05/29/85)

The new 4.2 BSD dump(8) and restore(8) do some of what you want.  You might
want to start by looking at them.

      Mark LaCasse                  qantel!hplabs!sdcrdcf!randvax!lacasse
      c/o The Rand Corporation       cbosgd!ihnp4!sdcrdcf!randvax!lacasse
      1700 Main Street              lacasse@Rand-Unix
      Santa Monica, CA 90406
	213/393-0411  ext. 7420

carl@bdaemon.UUCP (carl) (05/31/85)

> 
>      Are you familiar with "nswp" (a public domain program for
> CP/M-based micro's)?  How hard would it be to come up with a
> UNIX-equivalent?
>      "nswp" allows CP/M users to step through their directory, one
> file at a time, and do various things (skip it, view it,
> squeeze/unsqueeze, or tag it for "deletion" or "mass copy", etc.).
> ....... etc., etc.

You might try a modification of the 'scan' command on page 69 of
S. R. Bourne's 'The UNIX System'.

Carl Brandauer
daemon associates, Inc.
1760 Sunset Blvd.
Boulder, Co 80302
303-442-1731
{allegra|amd|attunix|cbosgd|ucbvax}!nbires!bdaemon!carl

dave@uwvax.UUCP (Dave Cohrs) (06/01/85)

>      Are you familiar with "nswp" (a public domain program for
> CP/M-based micro's)?  How hard would it be to come up with a
> UNIX-equivalent?
>      "nswp" allows CP/M users to step through their directory, one
> file at a time, and do various things (skip it, view it,
> squeeze/unsqueeze, or tag it for "deletion" or "mass copy", etc.).
> Users have menu-option at each file to "delete all tagged files",
> "copy all tagged files", etc.

There was a program posted to the net a while back called dired (directory
editor).  It doesn't do the 'copy' option, but this would be easy to add.
It does allow you to walk around through the directory structure.

-- 
dave cohrs
...!{allegra,harvard,ihnp4,seismo}!uwvax!dave
dave@wisc-limburger.arpa

    (bug?  what bug?  that's a feature!)