With the "find" command, how do I limit the search to the source directory?

I am trying to automate various search functions, thanks to the docs I have figured out most of it, but am stuck on trying to limit the search to the source/destination directories.
The docs state the in parameter can be used for this find name=rig in c:\temp collName=output

but what if I dont know know the directory yet?

Thank you.

find here name=rig collName=output

1 Like

perfect, thank you!

1 Like

More generally, you can also use {sourcepath$} to add the current directory into the command.

(No reason to use it instead of HERE in this case, but it is useful in situations where there isn't a special argument/shorthand way of saying it.)

1 Like