How to do wildcard search?

Does anyone know I can do wildcard search like *.jpg or my**.jpg? And yes, don't tell me to use the Terminal and copy and paste path.

Spotlight searches are pretty much wildcard searches, you just don't need the wildcards.
However, if you want to do it, look at a Raw Query. This post shows some of its capabilities using the Terminal command mdfind, but you can use a Raw Query in the Finder and he talks about how to select that from the criteria menu.
http://blog.scottlowe.org/2012/07/25/advanced-spotlight-queries-in-the-mac-gui/
With a Raw Query, you don't use the mdfind command, but the rest of the search is entered into the Find window.
Also, see here: https://developer.apple.com/library/mac/documentation/carbon/conceptual/spotligh tquery/concepts/queryformat.html

Similar Messages

  • How to use glob search with the wildcard in command find?

    How to use glob search with the wildcard in command find?
    I want to find any file its names begin with "readme" string using command find. Why the following command cannot work?
    $find /usr/share/doc -name readme*
    However, the following commands can work?
    $find /usr/share/doc -name readme\* or
    $find /usr/share/doc -name readme'*'
    I want to know: After using the “\” or ' ', why the wildcard do not become a character "*"?(still a metacharacter).
    Another question:
    I want to find any file its names begin with "readme*" string using the command find.What command should I use?

    I want to know: After using the “\” or ' ', why the
    wildcard do not become a character "*"?(still a
    metacharacter). The backslash is known as an escape character. It means 'use the character value of the next character, not the special meaning' It is used in a lot of places such as command line, global regular expression patterns, and editors such as vi.
    In a typical shell, the splat (*) expands to all file names before passing the file names to the current command. So a \* sequence tells the shell to pass a *, not a list of file names, to the command.
    Demo - OpenSuSE Linux 10.3
    - I have a bunch of files. Let's list those that end in grid. Create one called *grid, and list again
    pops@fuzzyVM:~/pops> ls 
    a  b  c  startgrid  stopgrid
    pops@fuzzyVM:~> ls *grid
    startgrid  stopgrid
    pops@fuzzyVM:~> ls \*grid
    ls: cannot access *grid: No such file or directory
    pops@fuzzyVM:~> touch '*grid'
    pops@fuzzyVM:~/pops> ls
    a  b  c  *grid  startgrid  stopgrid
    pops@fuzzyVM:~/pops> ls *grid
    *grid  startgrid  stopgrid
    pops@fuzzyVM:~/pops> ls \*grid
    *grid
    pops@fuzzyVM:~/pops>In the above, how would I remove the file *grid, and only that file?
    Another question:
    I want to find any file its names begin with
    "readme*" string using the command find.What command
    should I use?What were the results of the two versions you tried? And why?

  • How to frame the select query for wildcard search.

    Hi Experts,
    I have an input field P_USERALIAS.This value could contain the actual value or the wildcard for example : user can enter P_USERALIAS as SAP123 or S or SAPABC123 . I need to generate a dynamic search on table USREFUS  depending on what has been entered.Please help.
    Useful answers will be rewarded.
    Regards,
    Shrita Sharma.

    THIS IS A TEST REPORT FOR WILDCARD SEARCH**
    TABLES: USREFUS.
    PARAMETERS: P_NAME1 TYPE string.
    RANGES: R_NAME1 FOR USREFUS-USERALIAS.
    DATA: T_usrefus LIKE usrefus OCCURS 0 WITH HEADER LINE.
    *replace
    if p_name1 cs '*'.
    replace all occurrences of '*' in p_name1 with '%'.
    SELECT * FROM usrefus
    INTO TABLE T_usrefus
    WHERE useralias like P_NAME1.
    else.
    SELECT * FROM usrefus
    INTO TABLE T_usrefus
    WHERE useralias = p_name1.
    endif.
    LOOP AT T_usrefus.
    WRITE: / T_usrefus-useralias.
    ENDLOOP.
    **THANKS & REGARDS
    SHRITA SHARMA.

  • Oracle BI Publisher - Passing multiple wildcard search to a bind variable

    Hi,
    Please help me in resolving the below mentioned issue:
    I have developed a report in oracle BI Publisher with a SQL query.
    While scheduling the report to run I used to pass mutilple parameters like CGAMSVC08,RLCSVC51
    If the pass the parameter with wildcard search like C% it works.
    When I pass two or more parameter values with wildcard search like C%,R% its not working.
    Could you please let me know how should I give the bind variable in the SQL query. Currently I'm paramater like the one shown below for passing multiple paramaters:
    Where (',' || :PRMRETRID || ',' like '%,'||RL.RETROFIT_ID|| ',%')
    Edited by: user1101445 on May 23, 2012 2:02 AM

    HI Tyler.
    Well, here's the latest.
    I found this little gem in the BIEE 10.1.3.3.3 Release Notes Documentation...
    This issue applies to Versions 10.1.3.3, 10.1.3.3.1, 10.1.3.3.2, and 10.1.3.3.3.
    Reports that use the BI Publisher data template as the data model may fail with the
    following error: "Data not defined."
    This error will occur if you defined a parameter in your data template but you do not
    pass a value to it via the user interface. If you do not specify this parameter in the "Parameters" section of the report definition that you created using the BI Publisher Edit Report interface, then you will receive the error.
    To work around this issue, either define the parameter in the Edit Report interface or remove the parameter from the data template.
    That bit is now working.
    Having set this up and using your guide it works if my SOAP parameters declaration passes a single value like this...
    <parameterNameValues>
    <item>
    <name>P_INVOICE_ID</name>
    <multiValuesAllowed>true</multiValuesAllowed>
    <values>
    <item>16641</item>
    </values>
    </item>
    </parameterNameValues>
    But if I try and pass two or more like this...
    <parameterNameValues>
    <item>
    <name>P_INVOICE_ID</name>
    <multiValuesAllowed>true</multiValuesAllowed>
    <values>
    <item>16641,18421</item>
    </values>
    </item>
    </parameterNameValues>
    BIP states "java.sql.SQLException: ORA-01722: invalid number"
    My SQL where clause is..
    <sqlStatement name="Q1">
    <![CDATA[select * from vw_invoice_summary
                   where invoice_summary_id IN (:P_INVOICE_ID)]]>
    </sqlStatement>
    And the BIP error records the parameter value as P_INVOICE_ID 16641,18421 (which are legit invoice IDs)
    In summary, works if I pass one invoice ID, fails if I pass two or more.
    Any ideas? Or do you reckon this is now a post for the BIP forum?
    Kind regards.
    Simon

  • Move to next record / wildcard search

    Hi
    Hope you can understand this explanation..
    I have searchable database for Holiday & Residential
    property here
    http://www.roomtobreathesl.com
    (search facility in the navigation menu)
    The results page for this search works fine for when you
    specify a certain
    area, certain amount of beds etc as it only shows a small
    amount of
    properties.
    However when you do a search for any area / any amount of
    rooms / any type,
    the query brings up over 40 results, so a move to next record
    is used. This
    is where the problem lies. You cannot move to next record as
    the 'Next
    record' link is looking for another wildcard search (see
    status bar).
    Any ideas how to remedy this?
    Thanks for any help
    Gary

    oops!
    Sorry sent you the previous version that's online.
    I also tried doing a search and replace and changing all
    'Request.Form' to
    'Request'
    Still didn't work.
    This is how it was when it wasn't working.
    <%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="Connections/YotShop6.asp" -->
    <%
    Dim rsResults__MMColParam
    rsResults__MMColParam = "1"
    If (Request("yscon") <> "") Then
    rsResults__MMColParam = Request("yscon")
    End If
    %>
    <%
    Dim rsResults__ysbed
    rsResults__ysbed = "1"
    If (Request("ysbed") <> "") Then
    rsResults__ysbed = Request("ysbed")
    End If
    %>
    <%
    Dim rsResults__MMColParam3
    rsResults__MMColParam3 = "xyz"
    If (Request("type") <> "") Then
    rsResults__MMColParam3 = Request("type")
    End If
    %>
    <%
    Dim rsResults
    Dim rsResults_numRows
    Set rsResults = Server.CreateObject("ADODB.Recordset")
    rsResults.ActiveConnection = MM_YotShop6_STRING
    rsResults.Source = "SELECT * FROM YotStock WHERE Area LIKE '"
    +
    Replace(rsResults__MMColParam, "'", "''") + "' AND bedrooms
    LIKE '" +
    Replace(rsResults__ysbed, "'", "''") + "' AND type LIKE '" +
    Replace(rsResults__MMColParam3, "'", "''") + "' ORDER BY
    price ASC"
    rsResults.CursorType = 0
    rsResults.CursorLocation = 2
    rsResults.LockType = 1
    rsResults.Open()
    rsResults_numRows = 0
    %>
    "Julian Roberts" <[email protected]> wrote in message
    news:euj4if$ici$[email protected]..
    >>> Use Request instead of Request.Form for runtime
    parameters.
    >
    > You haven't done it :)
    >
    > --
    > Jules
    >
    http://www.charon.co.uk/charoncart
    > Charon Cart 3
    > Shopping Cart Extension for Dreamweaver MX/MX 2004
    >
    >
    >
    >

  • ADF Query wildcard search

    Hi Experts,
    i have a requirement in ADF search panel should allow wildcard search.
    i would like to know is it OOTB or how can we achieve this?
    appreciate your help
    Thanks,
    KT

    You should crate a view criteria which holds all attributes and set the search criteria like 'start with' which generate wildcard search. Set each attribute to 'ignore null values' to allow searches where the attribute its not set.
    Then you use this view criteria and drag it on the page and drop it on the page as query.
    Timo

  • Wildcard search for numeric values using select ?

    Hi,
    I want do wildcard search for numeric fields of the table.
    For charcter/string i have used - select * from XX_TABLE where param1 like 'SS%'. But this query doesnt work when para1 is numeric. Please let me know first whether this is possible ? if yes how to achieve it ?
    Thanks in advance,
    Shrinivas

    Hi Jack,
    The numeric field is of  8 digits, so when i give search critera as '66', it should return values 66000000, 660000, 6600 etc. so i was not able to give between some range. I also tried storing all these values in internal table and the segregate the values it contains '66*'. This worked well but requires lot of coding effort.Please suggest if you guys have any better method ?
    Thanks,
    Shrinivas

  • How to do a Search?

    One thing I don't see mentioned on this forum is an example of how to do a search.
    What I am trying to do is have a user put in some information, press a Execute Query button and they would be able to scroll through the DB records that match their search criteria.
    Is there any such beast available on the internet? Anyone out there have any example like this they are willing to share? If you have ever worked with Querying on an Oracle form, it would behave similiar to that.
    Thanks,
    Ritchie

    Create a new project, drag the following components to the page:
    Text Field, Button, two Output Text, Data Table
    Then go to the Server Navigator and drag the PRODUCT_TBL to the Data Table (it's under Data Sources > Order > Tables). Make sure that PointBase is started.
    Double click on the rowset object that was created when you dropped the database table on top of the Data Table component. Add the following to the SQL:
    WHERE UPPER(PBPUBLIC.PRODUCT_TBL.DESCRIPTION) LIKE ?Disregard the Parse Error message.
    Add some initialization code in the Page1 constructor:
            // Additional user provided initialization code
            try {
                 product_tblRowSet.setString(1, "%");
            } catch (Exception ex) {
                log("init error");
            }Then double click the button component and fill in the event handler with:
        public String button1_action() {
            // User event code here...
            String searchTerm = getTextField1().getValue().toString();
            String showSearch = "<none>";
            if (searchTerm == null||searchTerm.length()== 0) {
                // set the search value to the wildcard for the SQL LIKE operator
                searchTerm = "%";
            } else {
                showSearch = searchTerm;
                // format the search term for the SQL LIKE operator
                searchTerm = "%"+searchTerm+"%";
                log(searchTerm);
            // show the search term on the output page
            outputText1.setValue(showSearch);
            // set the search parameter
            try {
                product_tblRowSet.setString(1, searchTerm.toUpperCase());
                dataTable1Model.execute();
                // move the cursor to the end to count the rows returned by the query
                product_tblRowSet.last();
                int numRows = product_tblRowSet.getRow();
                // set display to number of rows
                outputText2.setValue(new Integer(numRows));
            } catch (Exception ex) {
                log("error");
                ex.printStackTrace();
            return null;
        }Now run the project. Enter a term like "com" in the text field and press the button. 8 rows that contain "com" in the description will be returned.
    -jeff

  • How to use statement "search" to find out the asterisk in a string?

    Hi Guys,
       I encouter this question:I need to use "search" statement to find out the asterisk or the underscore in one string,you know these two symbols are wildcards. I don't know how to use statement "search" to find them??
       could you please give me some help!!
    Thanks a lot,Villy.Lv
    Edited by: Villy Lv on Sep 26, 2010 6:50 AM

    Hi,
    You cant usesearch statement, rather did you try with CS using IF condition? even you can go with loop statement too.
    DATA STRING TYPE STRING.
    DATA C TYPE C.
    DATA LEN TYPE I VALUE 0.
    DATA I TYPE I VALUE 0.
    LEN = STRLEN(STRING).
    LOOP LEN > I
         C = STRING+I.
         IF(C == '*' OR C == '_').
         ENDIF.
         I = I + 1.
    ENDLOOP.
    This way also you can use.
    Hope this may help you.
    Regards!
    Sheik

  • Wildcard Search on Set

    Hi
    I am trying to iterate through a Set and output all values that matches a partuclar string or subsrting.
    e.g. if create a Set and insert the following values:
    Set<String> alf = new HashSet<String>();
    alf.add("abc.cde.fgh.ijk");
    alf.add("abc.zxy.fgh.ijk");
    alf.add("abc.pqs.tws.ijk");I am tring to display the above values (example) based on a wildcard search e.g:
    If I search for:
    abc.?.?.ijk
    I will get an output containing the above results, (? implies matach any).
    abc.cde.fgh.ijk
    abc.zxy.fgh.ijk;
    abc.pqs.tws.ijk
    Thanks

    I am looking for clear and solid example of how to achive the following.
    For example:
    I have the following ip's in a Set:
    111.112.113.114;
    112.113.114.114;
    111.112.113.115The values are all consistant IP format.
    now when I search for say *.112.113.* through the standard inputI want to get back:
    111.112.113.114
    111.112.113.115          e..g match the 2nd and 3rd octets and perform wildcard search on 1st and 4th octets
    and
    *.*.*.* <-- will output all IP addresses
    * = wildcardThanks
    Edited by: Apprentice12 on Apr 10, 2010 4:01 PM
    Edited by: Apprentice12 on Apr 10, 2010 4:02 PM

  • Wildcard Search requirement for Items description and BP Name

    Hi Friends,
    I want to know is there any feature in Item Master data or Business Partner Master Data in which search is done by putting middle or last name. For example the Item Name is Electric Motar 345 Gear
    and when the user wants to search it by say Motar 345 then all items which inclused Motar 345 should come highlighted.
    Same for BP also its required as BP name is Glem Tex Japan Pvt Limited and now user wants to search the BP by say Tex Japan and all BP which includes the word Tex Japan should come.
    Is there any possibilities by which this can be achieved. Its somewhat wildcard search required. I heared its possible in B1.
    Regards,
    Kamlesh Gupta

    Dear Sridharan,
    I have exactly put the same as 'Motar 345 after Opening the Item Master Data and in find mode pressed * Enter and put the above in Find and selected Item Description. But sorry to say that nothing is coming and the cursor goes in the last item master data.
    What might be the problem can you please tell me.
    Regards,
    Kamlesh Gupta

  • Hi.. I have a new apple computer and have no idea how to find stuff on here... Can someone tell me how to find my search history? Thanks

    Hi.. I have a new apple computer and have no idea how to find stuff on here... Can someone tell me how to find my search history? Thanks

    In addition to Japib's suggestion check out
    OS X Yosemite: See your files in the Finder
    OS X Yosemite: Finder preferences
    OS X Yosemite: Ways to quickly see and open items
    OS X Yosemite: Search with Spotlight
    OS X Yosemite: Rename files, folders, and disks
    OS X Yosemite: Folder basics
    OS X Yosemite: Ways to organize files on your desktop
    One more thing:
    Search history is a term generally referring to what sites you have visited via your browser (e.g. Safari)
    To see your Safari search history just open Safari and go to the top menu and select from Show History from the History
    See two pics below

  • How do you "power search"on the new  itunes?

    How does one power search on the new itunes? Is it still possible?

    In addition, since that search window is part of the iTunes' Main Page, I have to wait for that page to load before I can do my search. Before, I could click on the Power Search link, and it would abandon the load and bring me to the Power Search page. Now, since the Main Page takes so long to load, I have to wait for that to finish before I can search.
    In other words, I have to wait for iTunes to show me what it wants me to buy, before I can tell it what I want to buy.
    Kinda like going into a record store and getting a saleman who tries to sell me the latest hits before he will listen to what it is I came in to buy. The attitude is completely wrong.

  • How to add a search help for a field in Screen Personas?

       I just started learning to use a Screen Personas, and I want to know how to add a search help for a field.
       I found a property in the help document named "IsLookupSupported". Is it the key?  But I saw it was gray in the field I created, and its value is "false". I could not change it.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

  • How to run a search query for a particular folder in KM related to portal

    Hi,
    Can any one tell me the steps for : how to run a search query for a particular folder in knowledge management related to portal.
    Answers will be rewarded.
    Thanks in advance.
    KN
    Edited by: KN on Mar 18, 2008 6:33 AM

    Ok u may not require a coding
    But u req configuration
    U should first make a search option set
    Link: [Search Option set|http://help.sap.com/saphelp_nw04/helpdata/en/cc/f4e77ddef1244380b06fee5f8b892a/frameset.htm]
    Then u need 2 duplicate a KM Command by the name Search From here
    and customize it to include the Search Option that u have created
    Link: [Search from here|http://help.sap.com/saphelp_nw04/helpdata/en/2a/4ff640365d8566e10000000a1550b0/frameset.htm]
    Then in the layout add this command.
    Regards
    BP

Maybe you are looking for