Is there some code to use to make a button that will delete all folders except one.
Example:
Updates
William
Patrick
Jon
I am looking for a button that will delete the all folders, except the one called "- Updates".
Any help will be greatly appreciated.
Shawn
abr
October 27, 2023, 1:50am
2
You could make a test using something like this code:
Select ALL
Select Deselect "- Updates"
delete
Note that it also will delete all non-folders. If there are any, you possibly need to modify this code.
David
October 27, 2023, 2:45am
3
Or perhaps this may be useful.
I'm only guessing at the moment.
Select FILTERDEF type match folder and name nomatch Updates
Delete
Leo
October 27, 2023, 3:10am
4
Note that FILTERDEF requires Opus 13.
I tried to make the example simple, but I guess I need to elaborate.
In the example, the contents of the folder would be:
Updates
William
William.zip
Patrick
Patrick.zip
Jon
Jon.zip
I am looking to delete all the folders, with the exception of "Updates".
I don't have Opus 13 yet, but plan to update to that version once it is out of Beta, or whatever it is called
Thanks.
Shawn
abr
October 27, 2023, 4:00am
6
So, do you mean to keep the Zip-Files and the "Updates" folder? If so, you can use
Select ALL
Select Deselect "Updates"
Select Deselect *.zip
delete
Nobmen
October 27, 2023, 11:28am
7
This was proposed as an addition to the mutlifunction display in DO13 as an improvement.
Unfortunately, the topic received very little attention.
Was a frequent request, since the DO9, in the old German forum (was deleted).
Leo
October 27, 2023, 12:20pm
9
Which proposal do you mean? Can you link to a thread here about it?