Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
|
|
|
|
 |
software OS4 : ShowFiles (SF) 0.941 released |
posted by marko on 27-Jan-2014 17:39:30 (3548 reads) |
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.
Read more...
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.
Download: ShowFiles at OS4Depot
Features -------- - Abbreviated as SF or just sf, fast and easy to type in the shell. - Dirs/drawers are displayed in blue color (pen 3). - 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 for sorting by size and time/date. - Option for reversing the output list. - Options for displaying only files, dirs or links. Or intermix them. - Option for only listing m680x0 (68k) executables (AmigaOS 3.x). - Option for only listing PowerPC (PPC) executables (ELF headers). - (BETA) ALL option for showing all files and dirs in directories and subdirs. - Option to "trail" files with an initial character ('/', '*' or (at)-char). - Possibility to specify a path to display. - Shows OwnerUID, OwnerGID, UseCount and ObjectID (as reported by DOS). - Supports multiple formats of options/switches (f.ex: TIME --time -t /T). - Supports automatic updates through AmiUpdate. - Written (in C) and developed on Amiga for Amiga.
Special notes for this release ------------------------------ - ALL option is in BETA. - This release was focused on stability and error handling. - CHANGE: All one-single-letter options such as a, -m, /P are now case sensitive, where as non-single-letter options are not. Reason for this is because available free letters are becomming scarce for more options. - Changed single letter option h to ?, because of above reason. - ADDED: 68K, --68k, -6 and /6 option(s) for only listing all 68k executables. - ADDED: PPC, --ppc, -P and /P option(s) for only listing all PPC (ELF) executables.
Changes ------- Version 0.941: (Jan 2014) - AmiUpdate fix, AutoInstall file included again, it did escape for some mysterious reason ( ;) ) in the last archive. (Thanks zzd10h) - Option for showing the manual has been removed (since it's ever growing) and at least 10 KiB (20%) has been shaved off the ShowFiles executable. See the .doc file instead in the archive or SYS:Documentation/C/ShowFiles.doc. - Fixes in readme/documentation, some last minute typos did crawl into the last upload. Version 0.940: (Jan 2014) - Bugfix for DSI crash in option ALL, reported by Guillaume Boesel (zzd10h), resulting in a total rewrite of the ALL-option specific part. - Fixed bug, row-break/new-line issue in the footer. - Much improved error handling and stability with more graceful exit. - In addition to above, fixed/updated several error-messages, numbered them as well for referencing purpose. - Added 68K, --68k, -6 and /6 option(s) for only listing all 68k executables. - Added PPC, --ppc, -P and /P option(s) for only listing all PPC (ELF) executables. - CHANGE: All one single letter options such as a, -m, /? are now case sensitive, where as non-single-letter options are not. This is because available free letters for more options are becomming scarce. - Changed single letter option h to ? (because of above reason). - Added get_verstag function for returning the VERSTAG. - Comments in output are now in italic black on grey for better visibility. - Output header now in bold on grey for better visibility. - Output footer now in italic for better visibility. - Dirs in output are now also in bold for better visibility. - Other minor bugfixes and further fixes and typos in readme/documentation. Version 0.930: (Jan 2014) - ALL option added, for displaying all subdirectories and their items. - File installation structure changed, no dir with extra files copied to C: or anywhere else anymore. - Changed so "PPC" is shown rather than "elf" in dir listings. - Compiled with the latest updated SDK (version 53.24). - Typos and minor fixes in readme/documentation. Version 0.923: (Dec 2013) - Bugfix regarding links not being underlined or marked in output. (PS: That bug was kind of hard to track and hunt down but now resolved ;) ) - File comments and link arrows now also in white (pen 2). - More bugfixes in AutoInstall, Install and UnInstall scripts. Version 0.922: (Dec 2013) - Bugfixes in AutoInstall, Install and UnInstall scripts. - Minor typos in readme fixed. Version 0.921: (Jan 2013) - Moved AutoInstall to the root. Version 0.92: (Dec 2012) - Fixed bug, "Total size listed is always 0 in the footer." - Fixed the AutoInstall, there were some unknown parameters (oops). - Changed the footer info so files and dirs are separate, and items is the total of those, among other minor there in the footer.
http://m4rko.com/Amiga |
|
|
|
| STORYID: 7006
|
Poster | Thread | zzd10h
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 27-Jan-2014 21:36:46
| | [ #1 ] |
| |
 |
Amiga Developer Team  |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| Waiting for "ALL" option 
But even without this option, it's a useful CLI tool.
Thank you Marko ! Last edited by zzd10h on 27-Jan-2014 at 09:37 PM.
_________________ http://apps.amistore.net/zTools
|
| Status: Offline |
| | marko
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 28-Jan-2014 0:43:01
| | [ #2 ] |
| |
 |
Super Member  |
Joined: 17-Dec-2007 Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU | | |
|
| | Status: Offline |
| | tonyw
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 28-Jan-2014 5:26:25
| | [ #3 ] |
| |
 |
Elite Member  |
Joined: 8-Mar-2003 Posts: 3240
From: Sydney (of course) | | |
|
| What does it do that C:List can't do?
[I'm asking in case there is something useful we could add to List] _________________ cheers tony
Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php
|
| Status: Offline |
| | zzd10h
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 28-Jan-2014 6:34:15
| | [ #4 ] |
| |
 |
Amiga Developer Team  |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| Me, I like it for :
-color for Drawers
and
-sort by size or date (sf -t or sf -d)
But maybe that "list" still have these options, I didn't searched... _________________ http://apps.amistore.net/zTools
|
| Status: Offline |
| | tonyw
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 28-Jan-2014 11:45:49
| | [ #5 ] |
| |
 |
Elite Member  |
Joined: 8-Mar-2003 Posts: 3240
From: Sydney (of course) | | |
|
| Yep, List can sort by name, date or size. It also displays comments and resolves hard and soft links.
It can't select different colours for its output or read the type of file (ELF or 68K hunk), though. No one has ever asked for that. Last edited by tonyw on 28-Jan-2014 at 11:48 AM.
_________________ cheers tony
Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php
|
| Status: Offline |
| | marko
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 28-Jan-2014 13:20:32
| | [ #6 ] |
| |
 |
Super Member  |
Joined: 17-Dec-2007 Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU | | |
|
| Yep... 
Compared to List: - Text-formatting. - Fetches and identifies executable headers. 68k, PPC (ELF), EXE, among others. - Shows sizes in KiB (1024), kB (1000) and bytes. - Option for only listing m680x0 (68k) executables (AmigaOS 3.x). - Option for only listing PowerPC (PPC) executables (ELF headers). - Option to "trail" files with an initial character ('/', '*' or (at)-char). - Supports multiple formats of options/switches (f.ex: TIME --time -t /T).
And more options to come 
Also, it has this concept of "views": *default*, MORE and CLARIFY which shows different information...
Screenshots _________________ AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM  C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes Still waiting (or dreaming) for the Amiga revolution... m4rko.com/AMIGA
|
| Status: Offline |
| | tonyw
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 28-Jan-2014 22:26:28
| | [ #7 ] |
| |
 |
Elite Member  |
Joined: 8-Mar-2003 Posts: 3240
From: Sydney (of course) | | |
|
| @marko:
You've certainly put a lot of work into this, and I salute you.
I don't like to be negative, but you have re-invented the wheel by duplicating much of what C:List can do anyway. You should read the docs and see what LFORMAT can do for you.
Mind you, I am in no position to criticise. I am prone to writing things that I didn't know already existed. _________________ cheers tony
Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php
|
| Status: Offline |
| | marko
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 29-Jan-2014 2:12:58
| | [ #8 ] |
| |
 |
Super Member  |
Joined: 17-Dec-2007 Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU | | |
|
| @tonyw
Thank you 
Yes, I'm aware of the LFORMAT option and all other options for C:List.
The main reason I wrote (and am currently developing) this command is because it's fun and I wanted to write my "own" Dir/List command.
Then I also missed some stuff, like text-formatting and listing 68k and PPC programs (yes, I know there is a separate program for this too), and view information about files faster (through "views") without resorting to a bunch of options/keywords in one single command line. And some, more or less minor, other stuff...
The aim is that ShowFiles can do everything that C:Dir and C:List can do (but maybe little differently, like in views) and much much more, but without being too "bloated", slow and big.
There are many other programs that does the "same thing" (like image viewers, music players, text-editors, etc)  _________________ AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM  C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes Still waiting (or dreaming) for the Amiga revolution... m4rko.com/AMIGA
|
| Status: Offline |
| | paolone
|  |
Re: ShowFiles (SF) 0.941 released Posted on 29-Jan-2014 9:03:43
| | [ #9 ] |
| |
 |
Super Member  |
Joined: 24-Sep-2007 Posts: 1145
From: Unknown | | |
|
| @M4rko
Looking at your screenshot, you may also add "icon" file type to column 6 in right-bottom example for binary .info files and, since this dot extension is really popular in PC world to identify informative text files, it would be useful to catch real amiga icons (remember, we're using a shell here) and divide them from more generic text files.
Well, you may also consider an AROS port, btw... |
| Status: Offline |
| | samo79
|  |
Re: ShowFiles (SF) 0.941 released Posted on 29-Jan-2014 15:33:45
| | [ #10 ] |
| |
 |
Elite Member  |
Joined: 13-Feb-2003 Posts: 3505
From: Italy, Perugia | | |
|
| @paolone
Good idea  _________________ BACK FOR THE FUTURE
http://www.betatesting.it/backforthefuture
Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6 AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6
|
| Status: Offline |
| | marko
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 30-Jan-2014 2:45:41
| | [ #11 ] |
| |
 |
Super Member  |
Joined: 17-Dec-2007 Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU | | |
|
| An icon file type for binary .info files? Thanks, not a bad idea at all, that will probably be implemented (in one form or another) pretty soon 
AROS port?
Hmm, I've never thought of this but if there are some who wants ShowFiles on Aros then I might give it try. Although I have never programmed on Aros so I don't know how much work it would be. But before porting this, it has to mature little more (ironing out some more bugs and adding some more options), probably at least version 1.00...
Unfortunately, I can't promise a port but I will keep it in mind, and we'll see after some more releases  _________________ AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM  C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes Still waiting (or dreaming) for the Amiga revolution... m4rko.com/AMIGA
|
| Status: Offline |
| | marko
 |  |
Re: ShowFiles (SF) 0.941 released Posted on 30-Jan-2014 3:56:32
| | [ #12 ] |
| |
 |
Super Member  |
Joined: 17-Dec-2007 Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU | | |
|
| @tonyw
Btw, C:List should have sort=name as default (IMHO). 
It made more sense on a 68000 cpu to not waste valuable CPU time on sorting, but in OS4 sorting is done in blink of an eye... _________________ AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM  C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes Still waiting (or dreaming) for the Amiga revolution... m4rko.com/AMIGA
|
| Status: Offline |
| |
|
|
[ home ][ about us ][ privacy ]
[ forums ][ classifieds ]
[ links ][ news archive ]
[ link to us ][ user account ]
|