home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
newc_dev
/
newlist6.lzh
/
NewList6
/
Scripts
/
Aliases
next >
Wrap
Text File
|
1991-12-18
|
3KB
|
74 lines
;Here are some aliases to try.
;
; dir - output similar to ARP dir opt s
; mrdir - two column dir.
; list - output of Commodore `list`
; ls - output of ls
; lsjr - exact output of lsjr
; stat - print stats of a file or dir
; example1- compact output
; example2- another compact output
; enter - recursively enters dirs. Output like dir opt all
; script - basics to make a script file. Only need to add custom format
; ie script >ram:script dh0:*.c -F "copy \'%P\' to ram:"
;
; find - Like UNIX find. Will print exact path of files without
; any type of headers or footers. Note: newlist6.0 no longer
; needs to turn off headers and footers since ONLY matching
; files will show now. But if you like having the path
; expanded, find is still a useful command.
;
; usage find RootPath[:/]FilePattern
; ie find dh0:*.lzh finds all lzh files on dh0:
; find dh0:source/*.o finds all object files in dh0:source
;
; output: Dh0:lc/examples/avail.c
; Dh0:lc/examples/boxomatic.c
; Dh0:lc/examples/cat.c
;
; color - a very cool alias. Lots of colors and text styles.
; Color shows off ansi sequencing to produce color, italics,
; bold, etc. Try this one out!
;
; Here's some hints:
; \e[0m plain text \e[30-39m Forground color
; \e[1m bold text \e[41-49m Background color
; \e[3m italic text \e[7m Inverse Video
; \e[4m underline text
;
; dirtype - ls with filetypes! If you use comments right, you can have
; nice informative directories. Simply put a filenote on each
; file giving it a category. Now when you dirtype, you'll
; have a new wealth of information. It truncates long comments
; to 7 chars so the columns are nice and straight.
;
; Here's an example output:
;
; Directory of "Dh1:newlist5" on 18-Jun-91 00:10:18 AM
; -s--rwed Jun 18 00:06 script 2415 Aliases
; ----rwed Jun 09 02:33 text 353 Commodore.README
; ----rwed Jun 15 00:06 text 16327 NewList.doc
; ----rwed Jun 15 00:06 text 11410 History
; ----rwed Jun 09 02:33 text 2904 Times.doc
; ----rwed Jun 13 02:06 icon 880 Times.doc.info
; --p-rwed Jun 17 15:06 util 18112 NewList
; ----rwed Dec 31 23:59 Comm 170504 Jrcomm
; ----rwed Dec 31 23:59 Noise 224299 mod.klisje_paa_klisje
; 7 files - 0 dirs - 116 blocks - 54850 bytes
;
; Neat eh?
alias dir nl -qsgbvy2 []
alias list nl -z []
alias ls nl -s []
alias lsjr nl -shgbF "%U %c %4b %7s %d %n" -df "%M %2d %02h:%02n" []
alias stat nl -S []
alias mrdir nl -vgby 2 []
alias script nl -hT []
alias enter nl -Rgbv []
alias example1 nl -sF " %22n %-7s" []
alias example2 nl -sF " %d %p %c %7v %n" -df "%02m.%02d.%02y" []
alias find nl -HhsTF "%P" []
alias dirtype nl -scF " %p %d %6N %7.7v %n" -df "%3M %2d %02h:%02m" []
alias color nl -sgbF "\e[3;42;31m%22n \e[0m \e[1;43;32m%p \e[0m \e[0;32;41m%-7v\e[0m %d" -df "\e[4m%02d.%03M.%02y\e[0m \e[33m%02h:%02n:%02s\e[0m" []