31 December 2019, 10:06 | #1 |
Registered User
Join Date: Nov 2016
Location: Skien / Norway
Posts: 111
|
Sort by name and snapshot all from CLI
I would like to sort all my whdl drawers and snapshot them. Is there a way to do that with CLI or do I have to do the clickety-click with the mouse manually on every drawer?
|
31 December 2019, 12:14 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Which OS version do you use? Maybe on of these will work: http://aminet.net/search?query=sort+icon
|
31 December 2019, 15:59 | #3 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
If they all have actual icon files (.info files) and those files aren't write protected, snapshotting the icons after you select all should work.
|
31 December 2019, 17:20 | #4 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
I thought he meant all sub directories shall be sort/snapshot at once. If not then what Daedalus wrote.
|
31 December 2019, 21:13 | #5 |
Registered User
Join Date: Nov 2016
Location: Skien / Norway
Posts: 111
|
I run Amiga OS 3.1.4.1. All of the drawers do have .info files, but when I enter the drawer (unless I do a sort) they are all messed up next time (unless I "snapshot all"), and that's "fine" - but I want to sort all of the drawers under each character (A to Z) in a more efficient way than doing it manually.
I'll take a look at the aminet link, daxb. |
31 December 2019, 21:33 | #6 |
Registered User
Join Date: Sep 2014
Location: Poland
Posts: 175
|
If you wont find such a tool on Aminet, try to write script using Workbench Arexx port.
|
01 January 2020, 10:54 | #7 |
Registered User
Join Date: Nov 2016
Location: Skien / Norway
Posts: 111
|
Well, I could probably write the script, but I need the commands to do so. Are there are workbench cli commands to sort drawers?
|
01 January 2020, 12:27 | #8 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
With https://wiki.amigaos.net/wiki/AmigaO...Rexx_Interface you should be able to write the script you need if you are familiar with ARexx.
|
16 January 2020, 08:42 | #9 |
Registered User
Join Date: Nov 2016
Location: Skien / Norway
Posts: 111
|
This is what I came up with
/* resize and snapshot */ |
16 January 2020, 18:28 | #10 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Raw style. GETATTR would be a cleaner solution but if it works for you then fine.
|
17 January 2020, 15:53 | #11 |
Registered User
Join Date: Nov 2016
Location: Skien / Norway
Posts: 111
|
I have no clue what GETATTR is, but yes this works.
And I have to do the clean up twice, because without it the snapshot part wouldn't work. |
17 January 2020, 17:28 | #12 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
GetAttr is explained in the link above. I only mentioned it because it would be the smarter way handling such stuff.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New e-uae snapshot | mtb | support.OtherUAE | 12 | 16 November 2008 22:43 |
New snapshot of Feelin | Paul | News | 8 | 08 February 2005 23:00 |
Snapshot function | Eny- | support.Apps | 4 | 16 July 2004 08:52 |
How can I snapshot WB on Uae? | ElectroBlaster | support.WinUAE | 23 | 22 July 2002 15:35 |
new snapshot available | Worfje | support.WinFellow | 14 | 28 November 2001 00:49 |
|
|