3

Is it even possible? Like, for example, list all php files that contain the word “filter”?

1 Answer 1

2

Store your files in the files app on iOS and iPadOS and then the contents are indexed. Similar to macOS, once you search for a string, you can restrict it to the current folder if desired.

Search works for me on local files, iCloud files and just ad described above by Apple support pages. The search works for content and for name.

Here is what that looks like:

Files search by content

The source is this screenplay: http://dailyscript.com/scripts/arrival.pdf

The first copy is still in "Downloads" and I duplicated it in files and then moved it to "On My iPhone" to test both an iCloud synchronized and backed location of the file as well as local only storage. This works for many other names and file types / text / PDF and more for me (choosing other names in the screenplay or other search terms that have zero hits for file names and only hits for file content).

7
  • Could you please elaborate a little more? How do I store them and then search?
    – Cain Nuke
    Dec 3, 2023 at 16:36
  • @CainNuke Actually, when you search for something, you should see an option to search "For document titles", which will restrict the search criteria. By default, it searches for file contents.
    – Thinkr
    Dec 3, 2023 at 17:18
  • So th option doesnt work for local files? Also, i cant find that option “for socument titles”. Can i see a screenshot please?
    – Cain Nuke
    Dec 4, 2023 at 3:02
  • It works on my local files. I don’t my screenshots would look different than the Apple support pages. Maybe you need to work with Apple support and troubleshoot? Restart, try different files like pdf and plain text and update your question with some more details, @CainNuke ?
    – bmike
    Dec 4, 2023 at 17:09
  • I tried the support pages but they have no screenshots of search by content, only search by name.
    – Cain Nuke
    Dec 5, 2023 at 7:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .