Essentially the folder structure is as such:
└── Jobs/
├── 33000-33099/
│ └── 33024/
│ └── Job-Contents
│ └── 33046/
│ └── Job-Contents
│ └── 33083/
│ └── Job-Contents
├── 33100-33199/
│ └── 33174/
│ └── Job-Contents
└── 33200-33299/
└── 33274/
└── Job-Contents
On desktop we use a batch script to quickly search jobs however, I’m starting to make use of our companies iPads (since no one else does) to perform my tasks, I tried making up a script with shortcuts to search these directories for the job but it doesn’t seem to work with a wildcard sub-directory.
Any ideas are appreciated, I can’t install Scribtable on this iPad as the COO hasn’t fully set them up and it’s asking for a password for any installations.
Edit; the Batch script we use, hopefully explains it better than I did.
@echo off
cls
setlocal enableextensions enabledelayedexpansion
:UserInput
set /p UserInput=Enter job number:
REM Validate the input
REM Check if the input has exactly 5 characters
if not "!UserInput:~5!"=="" (
echo Please enter a 5-digit number.
color 0E
goto UserInput
)
REM Check if the input contains only numeric characters
for /F "delims=0123456789" %%a in ("!UserInput!") do (
echo Please enter a 5-digit number.
color 0E
goto UserInput
)
REM Check if the folder exists - Update 2025-07-24 Clears shell and text colour remains white after repeat.
set "Folder=N:\Drawings\Jobs\!UserInput:~0,3!00-!UserInput:~0,3!99\!UserInput!-*"
if not exist "!Folder!" (
echo Job folder does not exist.
color 0C
timeout /t 2 >nul
cls
color 0F
goto UserInput
)
REM Rest of the script - Update 2025-07-24 Script no longer automatially closes, instead repeats from the start. Also clears shell and text colour remains white after repeat.
for /D %%a in ("!Folder!") do (
%SystemRoot%\explorer.exe "%%~a"
echo Job folder found successfully.
color 0A
timeout /t 2 >nul
cls
color 0F
goto UserInput
)
:end
grep -rin
- recursive
- not case sensitive
- n - is entry in the file with line number
So that will search for stuff in documents and spit out the file and line number from the present working directory all the way down through recursive directories.
grep -rihwill just give the file names that contain whatever search term comes next. The only tricky thing with grep is knowing to keep the text you’re searching for simple because a weird regex is in play.You could always make links with your own names to the names you do not like.
I don’t use iStuff. Maybe it is different, but grep is pretty universal.
If I could use grep I would! IOS/iPadOS scripting is plug-n-play, no shell involved.
Image as an example:

Condolences on your neo feudalism. /s
GL
I don’t have a solution, but just wanted to make you aware that you can run scripts over SSH using iOS shortcuts. Perhaps that could help? Although, I guess you probably already knew that.
Interesting, I did not know this, but if I were to take this route I would need to open port :22 on a work machine, which I highly doubt I have the privilege to do so, also the iPad wouldn’t directly access the folder and its contents which is what I’m looking to do.
I currently got a funky script that is sorta functional at the moment, it can search for some jobs but then I got folders like “33333-CustomerName-JobTitle” and as far as I can see wildcard values (*) are not supported with standard iOS Shortcuts.



