Search for all locations of particular file kind/type?
How if possible can I search to find all locations of a particular file kind/type? Thank you!
In the Finder find, select Other... from the criteria popup. Add the System files and Visibility to the menu. You can add those options to the search criteria as necessary.
If the Finder preference is not already set, set it to search the current folder.
Similar Messages
-
How to search for all PDF files on my hard drive
How can I search for all of a file type on my hard drive without getting documents that happen to have the text in them? i.e. PDF or DOC or XLS
Thank you
PegPut the search term in quotes, and do not forget the . (dot)
Results (partial list) of Spotling search for ".pdf". There is a section listing PDF documents. -
How to search for all files w Metadata mismatch?
I Upgraded recently from LR2.6 to 3.3.
Many of my images have an Exclamation Mark on them, following the upgrade, informing me that there is a Metadata Mismatch...
When I click on it I get this Dialogue box:
Firstly I think LR developers are playing with potentially important information with a lack of care and consideration. I looked at the metadata in 'File Info' in Photoshop before clicking anything: the creation date was the date the file was created and much of the camera data was missing. After I clicked Overwrite Settings all the original data was back on the file. I have no idea how this came to pass exactly, but it shows metadata is an easily lost thing.
If Adobe care about their customers I would think they would make it more clear what was at stake here!
Secondly I would like to know if there is a way to search for all images with this issue to save me having to go through and do it one by one, possibly thousands of times?
Thnaks Peterareohbee wrote:
Beat,
Please share the SQL statement.
select ''
,LibraryRootFolder.absolutePath || LibraryFolder.pathFromRoot || LibraryFile.lc_idx_filename as fullFileName
,Image.sidecarStatus
,AdditionalMetadata.externalXmpIsDirty
from Adobe_images as Image
,AgLibraryFile as LibraryFile
,AgLibraryFolder as LibraryFolder
,AgLibraryRootFolder as LibraryRootFolder
,Adobe_AdditionalMetadata as AdditionalMetadata
where Image.rootFile = LibraryFile.id_local
and LibraryFile.Folder = LibraryFolder.id_local
and LibraryFolder.rootFolder = LibraryRootFolder.id_local
and AdditionalMetadata.image = Image.id_local
and (Image.sidecarStatus not in (0, 7)
or AdditionalMetaData.externalXmpIsDirty > 0)
order by fullFileName
I am not sure what the meaning of different values in column sidecarStatus and externalXmpIsDirty mean. This is what I've found out by trial and error:
sideCarStatus = 1 seems to mean "Settings have changed in Catalog compared to XMP"
sideCarStatus = 7 seems to be OK
externalXmpIsDirty = 1 seems to mean "Settings have changed in XMP compared to Catalog"
sideCarStatus = 1 AND externalXmpIsDirty = 1seems to be a Metadata Conflict
The meaning of sideCarStatus > 1 is unknown to me
I usually run the query and then look at the single images reported in LR.
IMHO, this metadata matching is one of the weaker points in LR. I have encountered several conflict situations where I can be 100% sure I have not changed anything on the image outside of LR, and I have "Automatically write Changes to XMP" active. So a conflict should never arise.
Beat Gossweiler
Switzerland -
Can iTunes search for all music on my system and rebuild the library?
Is there any way to make iTunes search for all music on my hard drive and completely rebuild the library from scratch?
Thanks.do you know how to re-locate files to an existing library?
All of a sudden, about 2/3 of my songs (over 6,000) will not play and a box comes up saying "The song 'x' could not be used because the original file cannot be found. Would you like to locate it?"
I went to Edit > Preferences > Advanced and have the correct (fixed) external drive letter selected for the folder location. and the files haven't moved, but iTunes isn't finding them. Restarted the computer making sure the drive was on.
I'd like to not lose all the ratings I've worked on. Hoping you or someone has a solution!!
thanks! -
How do I search for lines with a particular pattern and delete them when a match occurs
How do I search for lines with a particular patter and delete them when a match occurs? For example delete lines containing SUB_NAME = "?" where ? is any string.
How do I search for lines with a particular patter and delete them when a match occurs? For example delete lines containing SUB_NAME = "?" where ? is any string.
Lines in what? And what language are you using to develop with?
Are the lines in a text file? A RichTextBox? A TextBox? Some other control? A List(Of String)?
Is there some expectation by you that by providing what you wrote in your question post that the knowledge in your mind about what you are thinking about will mysteriously emanate to anybody reading your post so all of the sudden your knowledge will
become their knowledge and they will be able to provide you with an answer as they will suddenly understand what you are trying to do? Because that's probably impossible. Most people try providing enough information in a question so anybody, even stupid people
like me, can understand what they want. Maybe you should try that. As well as selecting an appropriate forum for your question in the future. Usually a question like this is related to programming in a particular language therefore a language forum may be
a good choice. Or not.
La vida loca -
How do I search for a word through multiple files in my directories ??
Hello everyone
How do I search for a word through multiple files in my directories ??
I am guessing one tedious way to do it would be to pass all the file names as command line arguments but I"m sure there exist a much easier and faster way to do it.
Thanks a lotYou need to pass only the directory name as parameter and then retrieve the files(recursively throug subdirs or not, however you wish) of that directory.
There were at least 2 threads yesterday on how to retrieve files from directory, and there are many others in the archive so I leave the search part to you ;)
HTH
Mike -
Searching for strings in a txt file
I am writing a program based on the six degrees of seperation theory.
Basically I have been given a (very large) txt file from the imdb with a list of all the films written in it.
The text in the document is written like this:
'Tis Autumn: The Search for Jackie Paris (2006)/Paris, Jackie/Moody, James (IV)/Bogdanovich, Peter/Vera, Billy/Ellison, Harlan/Newman, Barry/Whaley, Frank/Murphy, Mark (X)/Tosches, Nick (I)/Moss, Anne Marie
(Desire) (2006)/Ruggieri, Elio/Micijevic, Irena
.45 (2006)/Dorff, Stephen/Laresca, Vincent/Eddis, Tim/Bergschneider, Conrad/Campbell, Shawn (II)/Macfadyen, Angus/John, Suresh/Munch, Tony/Tyler, Aisha/Augustson, Nola/Greenhalgh, Dawn/Strange, Sarah/Jovovich, Milla/Hawtrey, Kay
10 Items or Less (2006)/Ruiz, Hector Atreyu/Torres, Emiliano (II)/Parsons, Jim (II)/Freeman, Morgan (I)/Pallana, Kumar/Cannavale, Bobby/Nam, Leonardo/Hill, Jonah/Vega, Paz/Echols, Jennifer/Dudek, Anne/Berardi, Alexandra
10 MPH (2006)/Weeks, Hunter/Armstrong, Pat (II)/Caldwell, Josh/Waisman, Alon/Keough, Johnathan F./Weeks, Gannon
10 Tricks (2006)/Cruz, Raymond/Swetland, Paul/Selznick, Albie/Hennings, Sam/Gleason, Richard/Leake, Damien/Skipp, Beth/Ishibashi, Brittany/Thompson, Lea (I)/Jinaro, Jossara/Brink, Molly
1001 Nights (2006)/Wright, Jeffrey (I)
10th & Wolf (2006)/Lee, Tommy (VI)/Renfro, Brad/Ligato, Johnny/De Laurentiis, Igor/Luke Jr., Tony/Mihok, Dash/Garito, Ken/Capodice, John/Dennehy, Brian/Gullion, Jesse/Salvi, Francesco (I)/Cordek, Frank/Marsden, James (I)/Bernard, Aaron/Brennan, Patrick (VII)/O'Rourke, Ben/Gallo, Billy/Heaphy, James/Stragand, Dave/Vellozzi, Sonny/Pistone, Joe (I)/Morse, David (III)/Landis, Pete/Cain, Atticus/Trevelino, Dan/Demme, Larry/Sisto, Frank/Rosenbaum, Paul/Grimaldi, James (I)/Ribisi, Giovanni/Hopper, Dennis/Devon, Tony/Sigismondi, Barry/Kilmer, Val/Marinelli, Sonny/Cacia, Joseph/Rossi, Leo (II)/Tott, Jeffrey/Wawrzyniak, Aaron/Boombotze, Joey/Marie, Corina/Arvie, Michilline/Warren, Lesley Ann/De Laurentiis, Veronica/Moresco, Amanda/Boecker, Margot/Rossi, Rose/Latimore, Meritt/Dunlap, Doreen/Perabo, Piper/Horrell, Nickole/Sonnichsen, Ingrid
11 Minutes Ago (2006)/Irving, Len/Welzbacher, Craig/Michaels, Ian/Dahl, Evan Lee/Gebert, Bob/Juuso, Jeremy/Hope, Trip/Green-Gaber, Renata/Dawn, Turiya/Reneau, Taryn/M
Thats just 2 lines!
what the program will do is take in a name (from a gui) of an actor/actress and find the smallest connection to a famous actor.
So first things first, my idea of thinking is to search the file for K.E.V.I.N. B.A.C.O.N and all his films, and safe them into an array. Then do another search for films from the actor that the user entered at the gui. then find the shortest possible connection to both stars.
my code for the search part of the program
import java.io.FileInputStream;
import java.io.IOException;
import java.io.File;
import java.io.FileNotFoundException;
public class FileSearch {
File aFile = new File("cast.06.txt");
FileInputStream inFile = null;
String actor = "surname, forename"; // the person who will be the centre point e.g. kevin.bacon.
//get the result of the actor from the gui will go here.
public void openFilm()
try
inFile = new FileInputStream(aFile);
catch(FileNotFoundException e)
System.out.println("Error");
}The problem I have is that I can't work out how to search the txt file for a specific string/s and save them into an array. (I'm not sure if this is the best way to go about it or not at this stage).
So whats the best way to search for an actor from that file and save the film title and the year of release?
Hope this makes sense? what I hope the final program will be like is like this http://oracleofbacon.org/I went away and looked at regular expressions and this is what I came up with
public class NameSearch{
public static void main(String[] args)
NameSearch ns = new NameSearch();
ns.runIt();
public void runIt()
java.util.Scanner fileScan = null;
try{
fileScan = new java.util.Scanner(new java.io.File("imdb.txt"));
}catch(java.io.FileNotFoundException e)
e.printStackTrace();
System.exit(0);
String token = null;
String actor = "Surname, Forename";
//real name will go in actor, left it like that for example
while(fileScan.hasNext()){
token = fileScan.next();
Pattern pattern = Pattern.compile(actor);
Matcher m = pattern.matcher(token);
while(m.find())
System.out.println(m.start() + m.end());
}This by any means not finished, I'm just trying to get to grips with regualr expressions. But when I run the program it doesn't return anything, from what I've tried to work out is it should return actor x amount of times they appear in the file. But when I run it nothing comes back (the actors name is in the text file) so I'm not too sure what I'm doing wrong, any suggestion please -
Steady Stream of "Searching for movie data in the file..." Error Messages
My iMovie has been crippled by error messages that pop up whenever I try to accomplish anything in iMovie. I always see "Searching for movie data in the file 'healyintro.mov'" for a few minutes, then "The movie file 'healyintro.mov' cannot be found. Without this file, the movie cannot play properly." I cannot actually use iMovie because of these errors.
I've tried everything from reinstalling iMovie to removing application support files to removing my iMovie Events and iMovie Projects folders to creating a .mov file, calling it healyintro.mov and seeing if that'll shut iMovie up – nothing works.
Once in a while, iMovie will ask for a different movie file, with the same problem.
Any ideas?I am having the same issue. I don't know what the previous poster means by allowing the system to continue, since I'm prompted with a "Cancel" / "Search" dialog after each missing clip. Slight digression: "Search" is not even the correct term here according to UI guidelines ("Choose" or "Locate" might be better choices given the file picker dialog that results).
I'm actually using Aperture to relocate my video masters on removable media, which is a very nice feature of Aperture, but completely breaks iMovie unless it's connected. Seems like a pretty major oversight.... can we just have it fail more gracefully here and allow us to work with new stuff without getting hung up on missing movie clips from the past? -
What is the Search for:- All images/All documents/all movies for in Finder
I am confused as to the purpose of Search for:- All images/documents/movies in Finder. I seem to have documents, pictures and music I have never seen or downloaded, and often photos I have actually downloaded are copied in triplicate sometimes more. I have at times got 10,000 items in my documents in Search for? My worry really is does this all take up memory on my computer and if so why is it happening and how do I stop it?
I do hope someone can explain the purpose of the Search For?
Jai309Thanks Kappy, I had thought that is what it probably was but just confused by all the items I never searched for or downloaded. Now that I know it doesn't take up any memory I shan't worry about it. When I deleted everything from the search for files all the photos in my iphoto and documents were also removed. (thankfully I always have my stuff backed up on hard drive) I guess one just shouldn't remove them? Is there a safe way to clear it out without loosing the stuff I need to keep?
Regards
Jai309 -
How do I search for all "missing" tracks within the iTunes database?
I found the dreaded ! of death, and sadly I verified the tacks indeed are not on my hard drive.
Is there a way to sort on this tag so that I can see what else might be missing on my hard drive but remains in the database (sort of similar to how you can search for all tracks that have missing artwork)?Thanks. It works perfectly.
URL for anyone else in need: http://dougscripts.com/123 -
Search for users in a particular LDAP through Web Dynpro code...
Hi Experts,
Let me try explaining my problem. In my project we are using two ADAM LDAPs. One for storing internal users and the other for storing external users. I have configured the portal to connect to both the LDAPs. I am able to search for the users created in both the LDAPs through portal Indentity Management.
I am trying to search for the users in a specific LDAP through Web Dynpro coding... I am not lucky enough to get it done. Let me explain you what I did.
I created a custom attribute for UME through config tool. Gave a physical mapping for the custom attribute in dataSourceConfig_xxx.xml to the LDAP attribute distinguishedName which returns the distinguished Name for the user in ADAM LDAP.
For Example: Custom attribute in UME is ldapuser which is mapped to distinguishedName attribute in ADAM LDAP in dataSourceConfig_xxx.xml.
When I do a search for the users in a particular LDAP, I am trying to put a filter to the newly created ldapuser attribute to distinguish between the two LDAPs.
The search will result if I pass the value as '*'. If I try to specify the user path for the LDAP in this attribute it doesnt result any data.
For example:
userSearchFilter.setSearchAttribute(
"com.sap.com.cust.admn",
"ldapuser",
"OU=16482515,OU=Members",
ISearchAttribute.LIKE_OPERATOR,
false);
The above code will not return the data, whereas
userSearchFilter.setSearchAttribute(
"com.sap.com.cust.admn",
"ldapuser",
ISearchAttribute.LIKE_OPERATOR,
false);
Will result with user list from both the LDAPs.
If anyone tried searching for users in a particular LDAP through code, please help me with this issue.
Thank you in advance.
Regards,
Rekha MalavathuI just figured it out. Under "group-policy GroupPolicy_COMPANY_SSL_VPN attributes", I had to add "vpn-simultaneous-logins 15". Apparently, it was using the value "vpn-simultaneous-logins 0" under the NOACCESS group policy.
-
I need autocomplete for search for words in a txt. file
i am not so good in java.
I have a running code for search in text with a txt. file (from user bluefox815).
But I need a solution with autocomplete for search for words in a txt. file.
test_file.txt (Teil des Inhaltes):
Roboter robots
Mechatronik mechatronics
and so on
Can you help me please.
Here is the code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
* this program searches for a string in a text file and
* says which line it found the string on
public class SearchText implements ActionListener {
private String filename = "test_file.txt";
private JFrame frame;
private JTextField searchField;
private JButton searchButton;
private JLabel lineLabel;
private String searchFor;
private BufferedReader in;
public SearchText() {
frame = new JFrame("SearchText");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
searchField = new JTextField(80);
searchButton = new JButton("Search");
// this is used later in our actionPerformed method
searchButton.setActionCommand("search");
// this sets the action listener for searchButton, which is the current class
// because this class implements ActionListener
searchButton.addActionListener(this);
lineLabel = new JLabel("nach dem Fachbegriff suchen");
public void createGUI() {
JPanel topPanel = new JPanel();
topPanel.setLayout(new BoxLayout(topPanel, BoxLayout.X_AXIS));
JPanel bottomPanel = new JPanel();
JPanel mainPanel = new JPanel();
mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS));
topPanel.add(searchField);
topPanel.add(searchButton);
bottomPanel.add(lineLabel);
mainPanel.add(topPanel);
mainPanel.add(bottomPanel);
frame.getContentPane().add(mainPanel);
frame.pack();
frame.setVisible(true);
public void actionPerformed(ActionEvent e) {
// now we get the action command and if it is search, then it is the button
if ("search".equals(e.getActionCommand())) {
searchFor = searchField.getText();
searchTheText();
private void searchTheText() {
// I initialize the buffered reader here so that every time the user searches
// then the reader will start at the beginning, instead of where it left off last time
try {
in = new BufferedReader(new FileReader(new File(filename)));
} catch (IOException e) {
String lineContent = null;
int currentLine = 0;
// this will be set to true if the string was found
boolean foundString = false;
while (true) {
currentLine++;
// get a line of text from the file
try {
lineContent = in.readLine();
} catch (IOException e) {
break;
// checks to see if the file ended (in.readLine() returns null if the end is reached)
if (lineContent == null) {
break;
if (lineContent.indexOf(searchFor) == -1) {
continue;
} else {
lineLabel.setText(String.valueOf(lineContent));
foundString = true;
break;
if (!foundString)
lineLabel.setText("Es kann kein Fachbegriff gefunden werden.");
try {
in.close();
} catch (IOException ioe) {
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new SearchText().createGUI();
}Markus1 wrote:
But I need a solution with autocomplete for search for words in a txt. file.What is your question? What have you tried so far? What are you having difficulty with?
Mel -
Search for all user messages doesnot work now ?
Hello SDNer's,
I often search my own questions and posts entering the keywords in Search for all user messages. After our forum has been revamped this functionality seems not be working as it used to. When I enter the keywords and Enter it throws me results from Expert Forums instead showing results just from my ID/Username.
Have anyone noticed this ?
Please comment Mods.
Happy New Year to all SDNer's !!!User search and monitoring was all disabled due to Privacy issues.
-
How to do complex file search for "word" unknown characters "word" .file extension?
How to do complex file search for "word" unknown characters "word" .file extension?
Using spotlight in Finder helps. Do you know how to search for files in Finder?
-
Tlanes not being created for all locations for one product
Hello Experts - I need some advice on the following situation:
We have a set of products where tlanes are only being created for 3 locations out of many. What would cause the tlanes to not be generated for all locations if all master data elements are present? We have a valid inforec, mrp views, etc. I can't see anything different with the 3 locations that are working correctly.
Any help would be much appreciated.
Thanks!Thank you for your resopnse:
To answer your questions, yes, we have done all of these things and the tlanes are still not being created. We have been using SPP for 6 months and this is the first time we've seen this problem. Do you have any other suggestions or is there any more information I can provide you that would be helpful in solving.
Thanks in advance for your advice.
AAF1999
Maybe you are looking for
-
Query for Multiple Rows as XML
Ok I've seen this topic in the forums, but have failed to get this to work within my process. Basically I have a process that has a user fill out a form, and upon submittal the form writes it's information to a database (via a data connection within
-
Just installed a duplexer on my HP 6000 Officejet but my XP computer does not recognize it.
I get the following response: "The document has been configured to print using the Automatic Two-Sided Printing Module but the module is not installed in the device." In fact, the module IS installed in the device. Any ideas?
-
Relationship Display in PO13 for User is Incomplete
-This is a peculair situation post upgrade to ECC 6.0 where a couple of the recruiters are unable to view the entire list of relationships attached to a position using PO13. If he/she hits the overview button it does NOT display ALL the relations. In
-
My error message when I try to install AI from my Adobe CC is this: Exit Code: 6 Please see specific errors below for troubleshooting. For example, ERROR: -------------------------------------- Summary -------------------------------------- - 0 fatal
-
SGD cannot access Active Directory
hello everyone I have sgd server and Active Directory server in a segment before , they worked well. now I place my sgdservers in a DMZ segment , and place the AD server in backend segment. there is a firewall between the two segments. now sgd cannot