Hide certain file types like they were system files

Hi - I'm new to Opus so forgive the newbie questions - I have checked the FAQ and had a search for answers but was admittedly a bit overwhelmed so apologies if these have been answered before

I was recommended to check out Opus after posting a query on a forum as to whether I could add certain file types to Windows list of default hidden system file types as I regularly use an audio application which creates loads of 'peak' (.pk) files whenever you open an audio file, which quickly clutter up directories with identical named files - now I could stop this application creating these files, however they are useful to have as they greatly speed up the opening of audio files, so it would be great if I could simply make them invisible.

However it appears this is not possible using Explorer,and so I was informed I can do this in Opus. So, I've installed Opus - but can't work out how to do this. I'm not sure if this fits in to the standard 'filtering' systems. I basically want .pk files, along with Windows system files, to always - under all circustances - be hidden.

As a secondary issue - It would also be great if there was a way that if I was to copy or move a folder with these files in, it would copy and move everything except files of that type in those folders or subfolders - but that's another story :slight_smile:

Thanks!

You could set up as custom button to do this, or you could do it with a style. If I were you I'd start with a button that hides the unwanted files and then when you're more comfortable with Opus to perhaps use a style for it. There might be other ways but those are the first two ways off the top of my head.

Anyway, a button command to toggle the hiding of all hidden, system .pk and .jpg (just to show how to hide multiple file types) files would be:

Set HIDEFILTERFILENAME *.(pk|jpg)
Set HIDEFILTERATTR hs

In regards to your second issue, I would set up a source and destination lister and then put the source lister into flatview mode using the following button command:

Set FLATVIEW=MixedNoFolders,Toggle

Then run the first button's filter to hide the files you do not want, and then I'd use the following command (in another button).

Copy FLATVIEWCOPY=recreate TO {d}

This is probably not the most efficient way to do what you want, but hopefully it'll get you started on setting Opus up to do what you want.

I'd use Folder Options to do this. You can specify a pattern which will always be hidden from view on the Filters tab.

Before you start, have a read through the Folder Formats FAQ linked in my signature. It will explain some essential background knowledge and tell you how to make such a filter apply to all folders.

In the screenshot below I'm hiding files called .cvsignore and directories called CVS. Simple examples, but you can use wildcards like *.pk or *.(pk|jpg) as in John's examples above.


For the second question, there's a Copy Filter feature in Opus which provides another way of doing it. I think John's suggestion is good if this something you only do occasionally. If you do it a lot then you might find it useful to have a button which you can click to do the copy in a single operation.

If you're interested in doing that, have a read of the manual's section on the Copy Filter and then come back to us with any questions. This is a reasonably advanced thing to be doing if you're unfamiliar with Opus so don't be afraid to ask if you get stuck. (It's also something I've been meaning to create a tutorial on for some time...)

Thanks chaps - I've followed John's tips to create a button that essentially creates nudel's option on and off. I suppose it may be handy to be able to un-hide them occasionally, so this is great. I now have an icon of a big eye on my toolbar which is grey when the filter is on and not when its off. Excellent!

When my boss gets back on monday I expect the company credit card to be whipped out :wink: