The shell command ShowFiles (sf) updated to version 0.993

Date 2018/1/24 18:05:32 | Topic: Software News

New version of ShowFiles (sf) released.




CHANGES

Version 0.993: (Jan 2018)
- Added white color (pen 2) as foreground on executable files.
- Optimized the output listing, roughly about 41% faster now! Tested with 50 items (42 files + 8 dirs). The whole command before had a mean of 0.3399 s and after the optimizion now a mean of 0.2014 s. However don't trust these values too much though, as the values fluctuates pretty much.
- Made some minor changes to the three scripts.

Version 0.992: (Jan 2018):
- Added commands SETANSICOLORSON and SETANSICOLORSOFF, set either one depending on if you use ANSI colors or System Pens as your Palette in the Text Colors tab in Console Preferences.
- Added command SETBLUEBG for setting the background to blue. You might also want to set to use ANSI colors with the command SETANSICOLORSON.

Version 0.991: (Dec 2017):
- Fixed issue in MOST view with uneven columns after Object ID now returns numbers with more digts.
- Some changes to TRAIL and TRACE. Now TRACE has -i as one letter option and puts the symbol before the name. While TRAIL has -j and puts the symbol after the name.

Version 0.990: (Dec 2016):
- New NOCOMMENTS option added, for omitting comments in output listings. (Kind of suggested by Guillaume (zzd10h).)
- New NAMES option added, for displaying only names in the output listing. (Suggested by Severin.) (PS: both -l and -L for LESS are already taken/reser-ved)
- New TRACE option added, allows files to be "traced" with an initial character. Dirs with an initial "/", executable with an "*", and links with an (at-char).
- TRAIL is now opposite to TRACE, allows files to be "trailed" with a final character.
- Fixed issue, (sometimes) the pointed link would appear not visable.
- Bugfix: -E now works for DATEFIRST as expected.
- Added one letter option -R to REALDATES ("promoted" from command to option).
- Fixed issue, DATEFIRST -E added to documentation.
- One new-line added to the MOST output.
- Added alternative way of installation to readme, thanks Severin.


Link to download url:
ShowFiles (sf) page


WHAT IS ShowFiles (sf)

DIR/LIST command - displays a sorted and text-formatted list.

ShowFiles (sf) is yet another DIR command (written in C). It displays a sorted
and text-formatted list of files, drawers (dirs) and soft/hard-links on disk or
other storage medium. It will also display their additional information such as
size, date, possible comment, executable header type (68k or PPC program),
protection-bits, etc, etc.

It supports a number of different option/switch formats (Amiga like switches,
Unix/Linux style and DOS/Windows style). It also supports wildcards/pattern-
matching and Amiga templates.


FEATURES

- Abbreviated as SF or just sf, fast and easy to type in the shell.
- Dirs/drawers displayed in blue color (pen 3).
- Executable files displayed in white color (pen 2).
- Hard/Softlinks are displayed underscored (underlined).
- Shows where any Hard/Softlinks points to.
- Possible comments are displayed in italic.
- Displays the "primitive" file type of files.
- Fetches and identifies executable headers. 68k, PPC (ELF), EXE, among others.
- Displays the Amiga file protection bits of files.
- Shows free disk space and sizes in KiB (1024), kB (1000) and bytes.
- Options SIZE and TIME, for sorting by size and time/date.
- Option REVERSE, for reversing the output list.
- Options (FILES, DIRS & LINKS) for displaying only files, dirs or links. Or
intermix them.
- Option 68K, for only listing m680x0 (68k) executables (AmigaOS 3.x).
- Option PPC, for only listing PowerPC (PPC) executables (ELF headers).
- Option ALL, for showing all files and dirs in directories and subdirs.
- Option to TRACE files with an initial character ('/', '*' or (at)-char).
- Option to TRAIL files with a final character ('/', '*' or (at)-char).
- Possibility to specify a path to display.
- Supports wildcards/pattern-matching.
- Option BARE, for listing without heading/summary information.
- Shows OwnerUID, OwnerGID and ObjectID (as reported by DOS).
- Supports the ? switch, for showing the Amiga Template.
- Option DATEFIRST for having the date first in every line.
- Option REALDATES for dates in the international format YYYY-MM-DD.
- Option NOCOMMENTS for omitting comments in output listings.
- Option NAMES for displaying only names in the output listing.
- Supports multiple formats of options/switches (f.ex: TIME --time -t /t).
- Supports automatic updates through AmiUpdate.
- Supports Shell/Console with black background.
- Supports Shell/Console with blue background and white foreground with ANSI
colors palette.
- Written (in C) and developed on Amiga, for Amiga and Amigans.


Link to download url:
ShowFiles (sf) page



This article comes from The Amigans website
https://www.amigans.net

The URL for this story is:
https://www.amigans.net/modules/news/article.php?storyid=2642