------------------DRIFTERS------------------
_______ _____________ ___ ____
___/ / _ \/__/ __/_ _/_\/ _ \ \ _\
==/ _ / /__/ / __/ / / __/ /__/_/_/ =
-/ / / / / / / / / |_ / /__\ \ --
/______/_/__/__/_/HKD/_/___/_/__/\___/©96
=> NewDir V1.4 Replacement For Dir <=
[---------X-FILES-+33-876-740-54-----------]
--[ AMIGA OS 3.x - UTILS 2 SPREAD ]---------
NewDir V1.4 docs
----------------
Written by MR.BLUESKY
Copyright ©1993-95 DRIFTERS HDC Inc.
All rights reserved
! FREELY REDISTRIBUTABLE !
This program cannot be sold, nor used for ANY commercial purpose
without my personal written permission. You can find my address
at the end of this text.
It's provided as is, without any warranty; use it at your own risk !
Please DO NOT compress NewDir with an 'executables auto-decompress'
packer, as it may make it crash. Archivers like LhA are ok for
redistribution.
INTRODUCTION
~~~~~~~~~~~~
NewDir is a replacement command for AmigaDos dir & list commands.
It features most options of these commands plus some goodies.
It's of course reentrant and so can be made resident in your system.
NewDir is MC68000 upto MC68040 compatible (tested on MC68000, MC68EC20
and MC68040 based machines), but requires at least OS II (2.04).
WARNING: NewDir now makes deeper usage of stack, and shell default
stack size (4096 bytes) may not be enough in some cases
(deep volumes trees).
So, if you observe random crashes, increase size to 8KB
(use the 'stack' command in shell or modify shell startup).
WHAT'S NEW
~~~~~~~~~~
o 12 new possible args/options.
o pattern auto-recognition (P option removed).
o dynamic output: number of columns is now adjusted according to
shell window width. Also allows to generate custom output.
o shorter & faster code; 68020/030/040 Icaches used as much as
possible.
o bug that sometimes corrupted shell stack now fixed.
NEW ARGS/OPTIONS DESCRIPTION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
o OPT / keyword : 'a' options now works (see 'SEARCH' below).
o TIMES / switch : add entries creation times to display.
o ATTR / switch : replaces the BITS switch.
o KEYS / switch : add entries disk keys to display.
o SINCE / keyword : show only if later or equal than specified date/time
e.g: nd since=2-mar-94
nd since="2-mar-94 14:58"
nd since="yesterday 13:15:10"
notes: * words (like month, 'yesterday', 'today'...) must
be entered in your own language if your system is
localized.
* Month may be more than 3 chars long (depends on
language too); try 'nd DATES' to check this out.
* Leading 0 in both date & time are not required.
* Stamp must be enclosed by quotes if you specify
both date and time.
* Date (if specified) must be entered first.
* Words are case insensitive.
o UPTO / keyword : show only if earlier or equal than specified date/time
e.g: nd upto=11:00
nd upto=today
nd upto="10-dec-93 12:30:35"
notes: see SINCE notes above.
o QUICK / switch : show only entries names without any further infos.
o BLOCK / switch : show files sizes in blocks rather than in bytes.
o NOHEAD / switch : directory head line not displayed.
o NOSTAT / switch : directory/volume statistics not displayed.
o NOICONS / switch: hide .info files.
o NOANSI / switch : output is pure ASCII (monochrome): useful when
redirected.
o SEARCH / switch : show all subdirs contents; useful to look for a 'lost'
file.
e.g: nd sys:lost.exe search will search for all
occurences of 'lost.exe'
in all subdirs of sys:
nd work:#?.gif search will search for all GIF
files in all subdirs of work:
o LFORMAT / keyword: allows you to produce custom directory output; useful
for script (batch) files creation.
e.g:
nd >ram:arf work:#?.gif LFORMAT="rename %s%s as %stemp/new_%s"
will produce a script file (ram:arf) which moves and
renames all GIF files from work: root to temp/ , ie:
rename work:pict1.gif as work:temp/new_pict1.gif
rename work:pict2.gif as work:temp/new_pict2.gif
.
.
.
rename work:pict90.gif as work:temp/new_pict90.gif
%s occurences interpretation:
%s pastes <filename>
%s%s pastes <path><filename>
%s%s %s pastes <path><filename> <fileaname>
%s%s %s%s pastes <path><filename> <path><filename>
Notes: * Names and pathes are always current directory relative.
* Format line must be enclosed by quotes if you enter
some space chars.
FILE PATTERN PROCESS
~~~~~~~~~~~~~~~~~~~~
As you noticed in the examples above, NewDir now auto-recognizes pattern as
target dir/file.
All standard AmigaDos wildcards are supported: ?,#,|,~,[,],%,* (optional in
OS II). See your AmigaDos manual for further infos about wildcards.
Note: Pattern matching is case-insensitive.
OPTIONS / KEYWORDS INCOMPATIBILITIES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some options or keywords exclude or force other ones. They may also conflict.
Don't panic though, worst conflict CANNOT lead to a crash !
Here are the main side effects that you should know about:
o INTER: disables QUICK, KEYS, NOANSI options.
forces DATES, ATTR options.
unpredictable output if used with LFORMAT.
o LFORMAT:
disables KEYS, DATES, ATTR options.
forces QUICK, NOANSI, NOHEAD, NOSTATS.
unpredictable output if used with INTER.
o SEARCH:
disables directory filtering.
o HELP: overrides all other args.
o ABOUT: overrides all other args.
o SINCE: unpredictable output if used with UPTO in paradoxal way.
o UPTO: unpredictable output if used with SINCE in paradoxal way.
OLD ARGS/OPTIONS
~~~~~~~~~~~~~~~~
The following args/options are unchanged since version 1.3:
o OPT (a|d|i) : only here for Commodore's dir compatibility.
you should better use OS II new switches instead.
a = SEARCH
d = DIRS
i = INTER
see corresponding switches explanations for further infos.
o DIRS : shows dirs entries only.
o FILES : shows files entries only.
o LINKS : show links (file and dirs, both hard and soft) only.
o DATES : add entries creation dates to display.
o NOSORT : don't alpha sort entries.
o INTER : start interactive mode; interactive mode output stops after
each entry and allows you to enter a command.
possible commands are:
* D = delete entry
* T = dump entry contents (ASCII)
* H = dump entry contents (Hexadecimal)
* C = enter any other AmigaDos command
* S = skip entry
* Q = quit interactive mode (abort)
* <RETURN> = S (skip)
o ABOUT : show NewDir version/credits
o HELP : show NewDir quick help
o ? : show NewDir args template
CONTACT ADDRESS
~~~~~~~~~~~~~~~
If you want to get in touch with me, write to:
Lionel GUILLANG
6, rue de la Martinique
75018 PARIS
FRANCE
No answers guaranted, I'm sooo busy !
- -- ---( CaLL OuR BoARDS! )--- >
.
* . ° * . ° . \|/ . ° . ° . *
° ° . . * (©_©) .
. .gæ __/\__ * ,.ææ_ oOO·(_)·OOo :ØØæ. ° áØØØØ# .
åØØØØ& \ øø / . ,øØØØØØ#, ° ,ØØØØØØØØØØQ_ VØØØØ .ØØØØØ"
åØØØØ& . /`--'\ _ØØØØØØØØN ° [ØØØØØØØØØØØØ_ °ØØØØØ ØØØØØF
° ¬ØØØØØ ¯¯\/¯¯ JØØØØØØØØØØ# . IØØØØØ___ØØØ'~ . ØØØØØ_¸ØØØØØP °.
* ØØØØØ#_æØØQæ__ JØØØØØضØØØØØQ ÍØØØØØØØØØØØØø__ ØØØØØØØØØØV
7ØØØØØØØØØØØØØ__ØØØØØØ__0ØØØØØ, * ÌØØØØØØØØØØØØØØØL ØØØØØØØØ@ .
° ØØØØØØØØØØØØØØØØØØØØØØØØØØØØØM [ØØØØØØØØØØØØØØØØþ ° ØØØØØØ'
. ØØØØØØØ°"ØØØØØØØØØØ"¯¯ ¯VØØØØØ_ ØØØØØØØ' ¬ØØØØØ ,ØØØØØ´___|\*
* 0ØØØØØ ØØØØØf°^°¯ . ØØØØØ® ,ØØØØØØØø____dØØØØØ ØØØØØF ¾¾¾¾¾\
° 0ØØØØØ.æÆØØØØØ `ØØØØØ&ØØØØØØØØØØØØØØØØØØ´ ØØØØØ1 ¾¾¾¾¾¾¾)
. 0ØØØØØØØØØØØØF ° . 0ØØØØØØØØØ@ØØØØØØØØØØÞ° ØØØØع ¾¾¾¾¾¾¾/
. * ¬ØØØØØØØØØØØ° . * ¶ØØØØج°°~~~¨¨~¨~"¯. * ØØØØØ ¯¯¯¯l/ °
°^~ "°°°¯ "¤¤° ° * ¤Øؤ°
_¸,.xXx.,¸_¸,.xXx.,¸_¸,.xXx.,¸_¸,.xXx.,¸_¸,.xXx.,¸_¸,.xXx.,¸_¸,.xXx.,¸TøF
¯~°¤×xפ°~¯~°¤×xפ°~¯~°¤×xפ°~¯~°¤×xפ°~¯~°¤×xפ°~¯~°¤×xפ°~¯~°¤×xפ°~¯
STAFF: CLARY/DFT SH0CKER/DFT FURY/PSG/CRX MULDER/DFT
BABY X-FILES
+33-ASK-FOR-IT +33-876-740-54
AMIGA ONLY! PSX SUPPORT!
------------------------------------------------------------------------
This Is Our Complete Memberslist In April 1996
CLArY................Coder/Sysop/Graphician/Raytracer
Sh0CKER..............Sysop/Guides/System/Trader
MuLDER...............Sysop/Trader/Raytracer
T0f..................Graphician/Ascii/Design
L'AnOME..............Trader/System
GoLDEN HeLL..........Graphician/Raytracer/Trader
SeB..................Graphician
Io...................Graphician/Swapper
242..................Coder/Raytracer
Mr.BlUESKY...........Coder
Other Friends Who Are Supporting Us (The List Is Not Complete Sorry!)
FuRY/PSG^CRuX........Sysop/Trader
SmT/ArtWork..........Musician
FaLCON/PsK^HoNOO.....Musician
LOrDs/ABsOLUTE.......Sysop/Trader
LoWLIFE/AXiS.........Graphician/Trader
ZiNKO/RYL/PB.........Sysop/Trader
We Are Always Looking For More Active Euro Sceners Who Like
To Join Our Fun Crew. You Think You've Got What It Takes & Want
To Join DRIFTERS, Then Contact MuLDER On His Board X-FILES.
|