How to Search Multiple Folders?

I am using a new machine with 10.7.2 Lion and I'm unable to do something I used to do on 10.4.11 Tiger, that is, search multiple folders simultaneously in Finder. To be clear, in a Finerd window, I was able to hit command-f and the current folder name would appear along with a button that said "Others." Clicking that would allow me to select any number of additional folders to include in my search. There isn't an "Others" button in Lion! What happened? Did the Lion developers get Lost?

Greg,
There's one way of doing this that's even easier than before.
Use a Spotlight Search, one of the best OSX features ever. Simply press CMD-space, and you'll get a small window. Type in your search criteria, and Spotlight will automatially list all of the hits on your computer - without even pressing enter.
If you're searching, say, using Safari, CMD-F will let you search for all the hits on the site you're on, and highlight them. Press Enter to cycle through the hits, if you have any.
Otherwise, use Spotlight for your system search needs.

Similar Messages

  • Search multiple folders and muiltiple files and combine to single file

     I want to search multiple folders for muliple files and combine to single file name. The files I'm searching have same format, but where named
    differently in each of there processes. Now I want to combine based upon -SearchFor .. I'm having a problem with -Filter $SearchFor
    Code:
    Function Search-Files{
    Param([String[]]$Locations,[String[]]$SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\servera\public\t1\usa\saleshist\","\\serverb\public\t2\usa\saleshist\",-SearchFor "dodetail-cm.txt","somstr.txt",-AppendTo "\\virt1\Saleshist_data_load_files\saleshdr.load.csv"

    I think you might want to use -Include instead of -Filter.  Your -Include parameter accepts wildcards, i.e. *.docx or *somstr.txt
    Your command to actually append the content should be:
    Get-Content -Path $File.FullName | Out-File $AppendTo -Append
    You had $Files.FullName which might behave unexpectedly, if at all.
    Your actual command has several issues.
    Search-Files -Locations "\\servera\public\t1\usa\saleshist\","\\serverb\public\t2\usa\saleshist\" -SearchFor "dodetail-cm.txt","somstr.txt" -AppendTo "\\virt1\Saleshist_data_load_files\saleshdr.load.csv"
    You had commas following the lists of locations and searchfor terms, did that even work? Without seeing your source files or your target file I can only advise you so much, but ideally you would import-csv and export-csv.  Depending on the contents,
    you may be able to get away with get-content and out-file though.
    I hope this post has helped!

  • Search multiple folders for files with same name and create single file

     I have a project where I need to search multiple folders for a file name and when found append data from each file to a single input file.
     Example
    root folder to start search
    \\servera\sales
    \\servera\it\salesa\cmmstr.txt
    \\servera\it\salesb\cmmstr.txt
    \\servera\it\salesc\cmmstr.txt
     I need to create a a single cmmstr.txt on the root folder. I would like it to be able to run this with parms to pass in folders to search and file names to search and single file name to create. I'm going to have a least 10 differnt files to
    search for and create output file for. The folders to search
    will somewhat be static.
     Thanks.

    I tested this out on my own seat and I think it should work for you. I wrote it as a function, all you have to do is pass the root folders you want to search and the file your looking for. The function will then search that directory and all sub directories
    for that file name. you will also have to provide it a file to append to, if the file dosen't exists the function will create it. If you run into an issues let me know and the links Mike
    Laughlin posted are a great resource.
    Function Search-Files{
    Param([String[]]$Locations, $SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\Server1\c$\Temp", "\\Server1\c$\Test1" -SearchFor "Install.cmd" -AppendTo "C:\Temp\Search.log"

  • Will lightroom search multiple folders and subfolders for keywords?

    Will lightroom search multiple folders and subfolders for keywords?

    Yes, if you select the folders in the explorer pane to the left in library mode,

  • How to open multiple folders and read file?

    Hello,
    I try to use this bridge script. The script work very well for me but some times I have multiple folders.
    Now script work that:
    1. Read file in folder
    2. Save text file and show me popup with full quadrature
    http://forums.adobe.com/message/3996179?tstart=56
    1. Open folder
    2. Read file
    3. Close folder
    4. Read next folder
    5. Read file
    6. Close folder
    7. ....
    8. Save text file with all folders and show me popup with full quadrature
    Please help!
    Best regards.

    Lightwave wrote:
    I don't think you guys are hearing my question. I can see how to restore a single file or folder.
    I want to restore ALL the changed or deleted files and folders since my last backup (but not the entire disk, that would be unnecessary)
    Were all (or most) of the items in, say, your Documents folder, or your Music folder? If so, you can restore the whole folder via TM. That will put all sub-folders and files back exactly the way they were at the time of the backup. You just have to be careful to pick the right backup (date & time).
    Or, if they were scattered through your Home Folder, you can restore that entire folder in the same way.
    If you've made changes subsequent to that backup, however, they will be lost in the process. What you can do in that case is, restore to a different location, then compare the two folders, and drag & drop what you want. (To restore to a different location, select the folder in TM, then click the "gear" icon in the TM Finder window, and select +Restore <item selected> to ...+ and you'll be prompted for a restore location.)

  • How to unrar multiple folders?

    Maybe a little off-topic, but I use Snow Leopard. I have several folders with rar files, how can I unrar them all at once?

    Greg,
    There's one way of doing this that's even easier than before.
    Use a Spotlight Search, one of the best OSX features ever. Simply press CMD-space, and you'll get a small window. Type in your search criteria, and Spotlight will automatially list all of the hits on your computer - without even pressing enter.
    If you're searching, say, using Safari, CMD-F will let you search for all the hits on the site you're on, and highlight them. Press Enter to cycle through the hits, if you have any.
    Otherwise, use Spotlight for your system search needs.

  • SAF TREX search how to search multiple attributes

    Hello,
    Any of you programmed in the SAF framework? I need some code help to search for multiple attributes.
    example: I want to do a search like this
    attribute 1 `Description` = Robotarm AND
    attibute 2 `Problem` = blocked
    I can search only on one attribute at a time.
    I use
    cl_crm_saf_se_trex_abap
                if_crm_saf_se_genil~search
    and also tried the function module contained in it
                TREX_EXT_SEARCH_DOCUMENTS
    Although I make query it does not seem to work for multiple attributes. Can any of you give a code sample.
    Best Regards,
    Frederik Defour

    Hallo,
    the reason why your query did not work ist simple: you have to tell TREX about the AND operator as well. Here in an example how the query table could look like:
    LOCATION     | VALUE1          | ROWTYPE          | OPERATOR
    |--||--
    short_text     | my product     | ATTRIBUTE          | EQ
    AND          
    OPERATOR          
    BRACKET_OPEN     
    article_type     | 15          | ATTRIBUTE          | EQ
    OR          
    OPERATOR          
    article_type     | 07          | ATTRIBUTE          | EQ
    OR          
    OPERATOR          
    article_type     | 99          | ATTRIBUTE          | EQ
    BRACKET_CLOSE     
    I hope this helps
    Best regards,
    Martin

  • How to delete multiple folders in organizer 12

    I have several duplicates of photos that I somehow created. I need to delete lots of duplicates. I see how to do it one folder at a time. However I have hundereds ! There must be a way to select more than one folder at a time for deletion. Anyone know how or if it can (or cannot) be done ?

    As you have probably seen, deleting a whole folder or many files in one batch is a long process. So, it makes sense to select the max amount of files to be deleted and run the deletion when you are not busy with the Organizer. It's reasonably quick to select all the files of a given folder and assign a 'to be deleted' keyword, so if you can assign that keyword to the contents of many folders, you'll be able to select by the keyword and let the deletion be processed while you are away.
    Note that deleting from catalog only or also from the drive are about as long.
    Another way if you want to physically delete from drive, would be to do it outside of the organizer.
    - Be sure you don't have missing files (not connected ones)
    - delete from the drive
    - Run the 'reconnect process' and use the menu to select all and delete all from catalog.
    Warning : with big catalogs (10 000 items or more), deleting many items will take a very long time and possibly abort without deleting anything.
    See:
    http://feedback.photoshop.com/photoshop_family/topics/elements_organizer_unable_to_delete_ a_big_number_of_files
    Both ways described above take the same time and have the above limitation.
    As usual, when deleting many items, doing a full backup before is highly recommended .

  • How to import multiple folders with subfolders several levels deep

    How do I import several hundred subfolders of a top folder into Aperture. Do I have to sit for days importing every single subfolder one by one? or is there any way to automate this procedure?
    For export is there any way to macro export muliple folders/projects/albums into a set folder structure, or is it again something that has to be done laboriously one folder at a time?

    For export is there any way to macro export muliple folders/projects/albums into a set folder structure, or is it again something that has to be done laboriously one folder at a time?
    Yes there is. You can design a folder hierarchy and export into it. See page 490 and following in the Manual.
    Regards
    TD

  • How to move multiple folders to new location?

    I have many folders containing photos. There are located like this:
    - photos 01
    - photos 02
    - photos 03
    etc...
    I want to move these folders under differernt folders. For instance, 2008 will contain all folders with photos from 2008. But now LR2 asks me to confirm the location of each folder! How can I have LR do a simple check into the new folder I give it to check if it contains other missing shoots?

    In the Organizer you can switch to Folder Location View by clicking the Display button (near top right)
    You can then expand he folder tree in the left hand pane and drag and drop.

  • How to sync multiple folders ?

    I need to keep 4 local folders holding the same content, while I may add or change files in any one of them.
    How can I set up immediate (or at the very least, periodic) syncing of their contents?
    I'm aware of 2 folder solutions (e.g. http://www.versiontracker.com/dyn/moreinfo/macosx/25735&vid=193012) but how do I do it for more than 2?
    Thanks!

    You need to select and sync all the photos that you want on the iPad together in one go as only the most recent photo sync remains on the iPad - photos that you sync from your computer can't be deleted directly in the Photos app on your iPad, instead they are deleted by not including them in the next photo sync, so you are effectively telling iTunes to replace the last synced folder with a different folder of photos.
    If you can't sync them all in one go then there are third-party photo management apps such as Photo Manager Pro (app help page) which allow you to copy different folders to it from your computer (one at a time), and which also allows you to delete photos directly in it.

  • How to import multiple folders into itunes at ones

    I have 40 gb of music that i have transfered to my new macbook pro, They are in thousands of folders and praying that there is a way/ app to do this. Thanks

    Don't move them then consolidate. That won't add them to iTunes.
    You can...
    File > Add to library and select the top level folder with the music
    Drag the top level folder to /Music/iTunes/iTunes media/Automatically add to iTunes.
    FYI: I keep a shortcut of the /Automatically add to iTunes/ folder on my desktop. Then just drop stuff onto the shortcut to add to iTunes.

  • How to import multiple folders?

    When I want to import a folder with sub folders within it and I drag that into iTunes it does not import the subfolder structure.
    Is there a way of achieving this without having to import one folder at a time?
    Kevin

    While in iTunes, go to File>Add to Library> then select the folder that contains the subfolders of files you want to add to your library.

  • How to publish multiple folders at once?

    Hi
    I've created a publish service (jf zenfolio) under which using the the jf plugin publish I created varios folders, under which I've dropped different photos to publish.
    Now... is there anyway I can tell the publish service to publish / republish everything in one click (instead of having to click on each folder to see if there's anything outstanding?

    Select them , then Publish using the big button at the bottom of the left hand panel.

  • How to search for folders using jsp ( or any other way)?

    Hey All,
    It's my first time writing here and i hope i can get some help ... i have created a payroll system using java and jsp techniques and mysql as the database, i want to create a backup page that will let the use to choose the destination folder for the back up, the backup is basically a mysqldump command that will get the destination folder as an argument and create the sql file there. the problem is i couldn't find anyway to let the user browse his local machine and choose the folder , which in returns return the folder path to be used in mysqldump....
    I know that html have <input type=file> but it's used for selecting file not folder...
    can someone come up with a solution for me coz it's urgent and i have to finish the project by the end of this week.,.
    peace!

    Also you can use an OUTPUT clause ( need to modify your DML operations)
    create table itest ( i int identity not null primary key, j int not null unique )
    create table #new ( i int not null, j int not null)
    insert into itest (j)
    output inserted.i, inserted.j into #new
    select o.object_id from sys.objects as o
    select * from #new
    drop table #new, itest;
    go
    The example below shows code that uses OUTPUT clause in UPDATE and DELETE statements to insert rows into an audit table.
    create table t ( i int not null );
    create table t_audit ( old_i int not null, new_i int null );
    insert into t (i) values( 1 );
    insert into t (i) values( 2 );
    update t
       set i  = i + 1
    output deleted.i, inserted.i into t_audit
     where i = 1;
    delete from t
    output deleted.i, NULL into t_audit
     where i = 2;
    select * from t;
    select * from t_audit;
    drop table t, t_audit;
    go
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

Maybe you are looking for

  • Oracle 9i PE Installation problem on XP

    I am using Windows XP Pro on a 1.8GHz PC, with 80G hard drive. I downloaded Oracle 9i, unzipping to 3 folders, and began installation of the Personal Edition. The first disk installed without problems. However, when directed to the folder labeled Dis

  • HDMI vs DVI on same monitor

    I just bought a mac mini(2010) and connected mini to samsung P2270HD(Full HD 1920 X 1080) via HDMI gives a very bad picture quality. Took the mini back to the store and they reproduced the problem on the same monitor. Then the guy took a dvi cable an

  • My iTunes library has been erased from my macbook

    my itunes library has disappeared on macbook - still available on iPad and iPhone.  How do I get it back on the Macbook please?

  • Will my new sound card work with windows 7 64 bit??

    I had creative sound blaster xtreme music, it use the old pci port. It has been giving problems ever since i got a new computer with windows 7 and a gigabyte mother board. The computer will sometimes not detect the car, when it does i will work for a

  • Hi, How do i crop a large video on iPhone 6 after transfer to pc

    Hi, i took a short video on my iPhone 6 ( 10 sec or so) and by mistake left it recording. The file is now large but i didn't realise this until after i had downloaded it to my pc ( windows 7 ) latest itunes. Is there a way i can get it back to my cam