# I have a folder in which Find doesn't work

**URL:** https://resource.dopus.com/t/i-have-a-folder-in-which-find-doesnt-work/40920
**Category:** Help & Support
**Tags:** find, windows-search
**Created:** [March 28, 2022, 7:28pm UTC](https://resource.dopus.com/t/i-have-a-folder-in-which-find-doesnt-work/40920 "2022-03-28T19:28:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![FromWithin](https://resource.dopus.com/letter_avatar_proxy/v4/letter/f/278dde/32.png) [@FromWithin](https://resource.dopus.com/u/FromWithin)
#### Post date: [March 28, 2022, 7:28pm UTC](https://resource.dopus.com/t/i-have-a-folder-in-which-find-doesnt-work/40920/1 "2022-03-28T19:28:41Z")

</div>

The source code for the original Wipeout on the Playstation just got released. I downloaded it from [https://illusion.64history.net/2022/wipeout-psx-windows-source](https://illusion.64history.net/2022/wipeout-psx-windows-source) and extracted the contents. When I try to use the Find utility to search through the source files for text strings, it never finds anything. If I search just for filenames, it's fine. If I search for any text content, nothing is returned.

My settings are the same as after 'Reset' has been pressed: 'Name matching' = , 'Wildcards' = on, 'Any word' = off, 'Partial match' = on. Containing text = , 'Wildcards' = off, 'Case sensitive' = off. 'Type' = All files and folders, no subtype. 'Search inside subfolders' = on. 'Date', 'Time', 'Size' = Ignore.

---

<div class="post-metadata">

### Author: ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)
#### Post date: [March 28, 2022, 7:43pm UTC](https://resource.dopus.com/t/i-have-a-folder-in-which-find-doesnt-work/40920/2 "2022-03-28T19:43:31Z")

</div>

It's because all the files in that archive have several random attributes set which makes Opus think they're offline files (and by design Opus doesn't try to search offline files).

The easiest way to fix it I think is to open a DOS prompt in the root of that folder, and run the command:

`attrib -x -p -u -o * /s /d`

---

<div class="post-metadata">

### Author: ![FromWithin](https://resource.dopus.com/letter_avatar_proxy/v4/letter/f/278dde/32.png) [@FromWithin](https://resource.dopus.com/u/FromWithin)
#### Post date: [March 28, 2022, 7:47pm UTC](https://resource.dopus.com/t/i-have-a-folder-in-which-find-doesnt-work/40920/4 "2022-03-28T19:47:29Z")

</div>

That indeed worked. Thanks.

A couple of things though...surely an offline file is a local file, so why wouldn't it search those?

And shouldn't the "Change Attributes & Times" dialog be updated to include the P and U flags?

---

<div class="post-metadata">

### Author: ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)
#### Post date: [March 28, 2022, 7:50pm UTC](https://resource.dopus.com/t/i-have-a-folder-in-which-find-doesnt-work/40920/5 "2022-03-28T19:50:53Z")

</div>

The attribute is kind of confusingly named (in Windows it's called `FILE_ATTRIBUTE_OFFLINE`); what it means is that the file isn't stored locally, but has to be retrieved from remote ("offline") storage first. Originally this meant tape backup, but nowadays almost always refers to cloud storage.

Those attributes are not normally set by the user - they're managed by the file system. Exposing them to the user would only lead to confusion as in this instance!

In the context of cloud storage, they can be managed using the `SetAttr PIN` and `SetAttr DEHYDRATE` commands, but they don't do anything in normal folders.

---

<div class="post-metadata">

### Author: ![FromWithin](https://resource.dopus.com/letter_avatar_proxy/v4/letter/f/278dde/32.png) [@FromWithin](https://resource.dopus.com/u/FromWithin)
#### Post date: [March 28, 2022, 7:55pm UTC](https://resource.dopus.com/t/i-have-a-folder-in-which-find-doesnt-work/40920/6 "2022-03-28T19:55:24Z")

</div>

Thanks for the clarification.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [March 30, 2022, 8:14pm UTC](https://resource.dopus.com/t/i-have-a-folder-in-which-find-doesnt-work/40920/7 "2022-03-30T20:14:31Z")

</div>

I've made some changes to the archives plugin which should help here. We'll filter out the attributes that don't make sense for files within archives and were confusing things.
