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 options/switches, after installation in the Shell, please type "sf HELP" (or "sf --help") for listing all options/switches. Or look in the .doc-file in the archive.
Changes:
Version 0.981: (Feb 2016) - Fixed "sometimes missing footer" (appeared in the wrong color). Thanks Guillaume (zzd10h) for reporting. - Fixed wrong colors in comments when black Shell. Thanks Guillaume (zzd10h) for reporting. (PS: Option for omitting comments already on TODO-list.) - Fixed issue, "A block of text appeared in the wrong place in the readme". - Fixed a few missing commands in the Template output in help and in manual.
Version 0.980: (Feb 2016) - Added MOST aka -M option, same as CLARIFY and -c, but easier to remember. - Added SETBLACKBG command for setting the background color to black (pen 1), when using a Shell with black background. - Added SETNORMALBG command for setting the background color to normal (grey, pen 0), when using a Shell with normal/grey background. - Added PRINTENV command for printing out the ShowFiles (sf) environment/ configuration variables. - The option REALDATE is now deprecated, please use REALDATES instead. - Included all error codes and their meaning to the manual. - A number of typos fixed in readme.
Version 0.972: (Sep 2015) - Compiled with latest SDK version 53.29. - Fixed case sensitive issue with pattern matching. (thanks Guillaume (zzd10h) for reporting) - Fixed a rare condition where header whould not render correctly. - UseCount removed from output, DOS structure no longer support it.
Edited by Marko on 2015/7/17 16:35:28 Edited by Marko on 2015/8/29 23:36:38 Edited by Marko on 2015/9/6 9:20:45 Edited by Marko on 2016/2/9 17:47:38 Edited by Marko on 2016/2/21 3:39:55 Edited by Marko on 2016/3/4 21:58:43
1) I often use your SF to quickly list files and their attributes but I wonder if it's case sensitive or if it's me that have missed something.
For example, I want to list files begining by "L". "sf L*" or "sf L#?" work "sf l*" or "sf l#?" doesn't work
"dir L*" or "dir l*" both work
Is it normal ?
14/0.RAM Disk:T> sf Displaying files in T Aujourd'hui 22h00 File 1 KiB blanker.log Aujourd'hui 23h01 File 1 KiB ContextMenus Clipboard1 Aujourd'hui 23h03 File 154 KiB LittleBrother_10_0.jpg Aujourd'hui 23h00 File 14 KiB LittleBrother_10_1.jpg Aujourd'hui 23h04 File 90 KiB LittleBrother_10_2.jpg Aujourd'hui 23h04 File 168 KiB LittleBrother_10_3.jpg Aujourd'hui 22h50 File 12 KiB LittleBrother_10_4.jpg Aujourd'hui 23h00 File 1 KiB notifications.log Aujourd'hui 22h00 File 27 KiB usb.log 9 items - 9 files and 0 dirs - 465 KiB listed - (0.000428 seconds)
14/0.RAM Disk:T> sf L* Displaying files in T Aujourd'hui 23h03 File 154 KiB LittleBrother_10_0.jpg Aujourd'hui 23h00 File 14 KiB LittleBrother_10_1.jpg Aujourd'hui 23h04 File 90 KiB LittleBrother_10_2.jpg Aujourd'hui 23h04 File 168 KiB LittleBrother_10_3.jpg Aujourd'hui 22h50 File 12 KiB LittleBrother_10_4.jpg
14/0.RAM Disk:T> sf l* Displaying files in T
14/0.RAM Disk:T> sf l#? Displaying files in T
2) other question... I use a black background shell by using
in my shell-startup. sf output is displayed in reverse color, "dir" don't. Could you do something for that or do I have to revert to a standard shell background ?
1) No it's not normal, the pattern matching shouldn't be case sensitive. I will look into this in the next update, thanks a lot for reporting this.
2) Since SF uses colors in its output and it is hardcoded (at the time being) so unfortunately it is how it is right now. But I will take look and see if I can make something simple about it in the "short-term".
In the long-term though, in a couple of updates onwards (after fixing some more bugs and so, also waiting for the new SDK). I'm planning on introducing an optional config/prefs file of some sort, so users can set their own color codes on the output as they wish...
Quote:
I often use your SF to quickly list files and their attributes
Hi again, BTW, option for omitting comments is already on the TODO-list, but I will do that option in the next "major" update (after this/these bugfix-update(s)).
Changes in 0.982: - Fixed missing command (BARE) in the Template output and manual, it was in HELP and readme though. - Fixed so the Template is alphabetically sorted. - Fixed more contrast to the arrow (->) in links, color changed to black. - Fixed missing REALDATES and DATEFIRST in features in readme.