As far as the write protection is involved, it's also the same in Windows Explorer.
I have tried lxp's line of code, not a filter. But that code should work anyway.
I have encountered this problem when using an HDD taken from an old computer as an external drive. Try taking ownership of the drive through the Drive or Folder Properties.
Yes, i had some similar ideas. But i'd rather do not mess up things, until i'm 100% sure, what i'm doing. Thanks.
Sometimes I still get an 'Access Denied' pop up for files, then I 'Attempt to gain access' and it usually works. This is often related to specific folders that are protected by the particular company that locked them down for whatever reason. For example lots of my music software folders gives me pop ups. Is there any DRM on your files?
There's some good tutorials on permissions. But I think your Windows has an issue.
Thanks! I will check that, if Youtube lets me (they have that new 'login so we can see you're not a bot' nuisance).
![]()
So, is anyone here, who actually does understand this filter system? I don't. So, please, can anyone show me, how to set this filter? I don't want to filter from inside the folders, but from the outside, because i want to save the time to go in and out in those filters.
i select, for example, the folder 16-Jan-25 (select only, don't open). And the filter should delete all JPG content inside the subfolder 'Original', except the name contains the word 'Zwischenablage*'.
The letter part is new in my question, but i also can't figure out, how to delete all JPGs in that subfolder, while having that exception.
EDIT: maybe it's not possible at all, to apply a filter from the outside, just having selected the folder?
The only events I see are for filetypes. I don't think there is a path event, but that would be cool.
So I don't think you could select a folder and that action of selecting it would run a command, unless I'm mistaken. Maybe there is a script for that.
lxp has the answer to the exclusion right in his account name
.
!X:\path\to\be\ignored
At least that's what I think the !x: does.
Otherwise do a match name * and 'no match' name = (name).
You could put a delete command on the next line.
Yes, that would be very handy. Because going into a folder, waiting until the file type filters are applied, which takes a while (in this case, giving the JPGs their coloring), then leaving the folder (plus of course the deleting actions) takes up much time, when dealing with maybe 1,400 folders, shich are yet to be processed, is very tedious.
That's why i have bumped this thread. And lxp's code doesn't work, because of that permissions issue on my machine, which is kind of strange, since i can delete those superfluous files manually.
And that other part with the !x, i have no idea what it means. scratching head.
In the folder formats you can add a hide filter.
So you said it's a removable drive. You can make a custom path format for it.
Then add that particular folder name 'Zwischenablage' and it will be hidden by default when you go into that drive.
You would have to click on the 'show hidden' to show that folder again. Which is helpful to delete everything else, but is annoying if you want to see it every time.
So it depends on how long it takes to load that folder. If you don't care about columns because you're just deleting things you can also make sure the columns that are shown are scarce for that drive only, to help a little bit.
Well, it's 1,400 folders altogether, which would make just as many custom paths, i guess. ![]()
And Zwischenablage is part of a file's name, not a folder (it's the default name for a clipboard item).
One thing you can do is use Void Tool's 'Everything' for indexing searches.
You can add this path to the inclusion area. And enable 'fast search'.
I've recently added my removable drives to this index. It hasn't seemed to improve the read speed for some reason. I haven't followed up on that yet. Make sure not to remove the drive when it's indexing.
I'm looking at this delete filter thing. I'm interested in it too.
I'm afraid i can't do that, without breaking other stuff.
I'm 100% relying on Everything's index for all my searches, including images, tags, ratings and some EXIF data. So, all i can hope for, is that GP will include that path event sometime later.
I recently have completely removed the Windows indexer and re-configured all my custom search buttons.
I think you can add a right click context menu entry to a path.
So set it up to run a command when you right click on this folder.
You can run a Find tool preset that excludes that folder.
Then you can select all and delete. Probably can put it in the same command.
Do this at your own risk. I'm just giving an idea.
I don't understand the procedure, and because i don't want to risk anything to my photo collection, i keep deleting that stuff manually . There too much stuff involved, sorry. Adding a right click context menu (running what command?), find tool (which settings?), excluding what exactly? Select all (all what?) and delete (i will end up deleting my whole photo collection
. Putting in the same command (what command and put in where?).
You are quite advanved, but i don't have any idea, what i would do, so i better stick to my simpleton routine. Thanks!
![]()
If I go back to the original description of what you're trying to achieve, it seems you want to select a folder and delete all ".jpg" files in <selected folder>\Original
For that, the command provided by lxp ( Delete FILE={filepath}Original\*.jpg) should be fine (try it in a safe place, where you would have put some copies of random jpg files). I say it should be fine since you reported having some kind of permission issues on your drive ... are they solved ?
If not, you have to solve that first, and the methods about taking ownership are probably the ones you'll have to go through. BUT : if the files on that drive are of great importance, you should make a backup first (and if they are important, then you should probably already have a backup).
What's not clear is that you seem to be able to delete manually (through Opus). If so, I see no reason a button script or a bunch of commands would not be able to do the same.
Some other thoughts and considerations :
- Are you running Opus elevated ?
- You say opus is running the SYSTEM user. It's not and should not, as you would have permission issues all the time (you can still check that under the task manager : details tab, display the user column and you'll see which user Opus is running under).
Yes, i have plenty of backups, being close to paranoid with some of my data. ![]()
But i do not have it all synced to the latest version, so there would always be a little risk losing changes. And i also don't run Opus elevated, at most i sometimes use the built in Set Admin mode.
And yes, it's strange i easily can delete manually, but lxp's code can't. As for using the SYSTEM user, no, not that i would know (see my sscreenshot above). I always used the very standard Opus install procedure, from my simple user account per UAC, and never had permission issues.
![]()
Maybe Renaldostheold's idea is correct. I had that disk at a different computer for a couple of months (this being one of those said backup disks), but the disk was just connected to another computer, i can't think of anything that possibly would have messed up any permissions.
I just checked and what I said about the right click menu might not even be possible.
But you can make a Find preset that is an absolute path.
Then no match with the name of the folder. Using 'Subfolder' or something like that (I've never set up a name preset yet, so I'm not sure).
Choose your other settings. Then save as a preset and put that code on a button:
Find PRESET="(name of the preset)"
So clicking the button will search that drive, excluding what you don't want to see, without having to read everything.
I don't even have that chain link symbol here.

This is how my path field looks like:

Edit: maybe that's the other path field, that can be used (i faintly recall, that there was another type of path field, although i have no idea, where to switch that on) . But it's not included in my standard symbol bars.


