Ubuntu :: Way To Do A Compound Search Of Some Files?
Dec 8, 2010
I'm trying to look through a big folder of air photos to see if there are some world files that have duplicate coordinates. I want to find *.jgw files that have 123 in line 5 and 456 in line 6. I first thought grep could do this for me but grep 123 *.jgw|grep 456 finds only files where 123 and 456 are on the same line. Is there a sed trick for this?
View 2 Replies
ADVERTISEMENT
Mar 24, 2011
In C++ language, we can do the following compound tests,
Code:
std::string a, b, c, d;
if ((a == "Yes" && b == "Yes" ) || (c == "Yes" && d == "Yes")) { ... }
In bash scripts, how can we do the parenthesis around compound tests?
Code:
if [ "$a" = "Yes" ] && [ "$b = "Yes" ] [ "$c" = "Yes" ] && [ "$d" = "Yes" ]; then
...
fi
View 4 Replies
View Related
Jul 20, 2011
I have noticed that the files and folders search in Unity, only shows up those files which have been amended (or possibly just opened) since the install.
i was wondering if there was a way i could have the search index (or something vaguely equivalent) all the files on my machine. This is especially important given that i reinstall the OS every six months on a new distribution cycle, copying all my old files across.
Without being able to see my old files the search is pretty much reduced to a recent history search.
View 3 Replies
View Related
Jul 28, 2010
How to output to a text file the compound command:
Code:
find -type f -print0 | xargs -0 grep -l "desired text"
I have not been able to find the answer.
[code]...
View 5 Replies
View Related
Dec 19, 2010
Is there any way, either with something included or with a program that can be set up to search for files in Ubuntu? I need something like the search for files or folders that was available in Windoze 98 and 2000. I have tried the built in search under "places" and I have found no way to get it to search a full drive or all drives.
View 5 Replies
View Related
Feb 1, 2011
find a file or content by name recursively similar to the ms-windows function search with Linux? I can do find . | grep test.html suspecting it's not the best.
For instance, running find . | grep terms.htmlgives my expected result while locate terms.html doesn't even though locate gets updated db - it might have to do with that it's an USB stick the file is on?
View 7 Replies
View Related
Jan 20, 2010
Recently one of the worm is spread in our network & so many unwated files are getting copied on our ubuntu file server like comment.htt, desktop.ini, winfile.exe Now we have clean that worm from our network but few files are remained on ubuntu server as well as in backup folders and i want to search those files and delete it.
View 1 Replies
View Related
Mar 5, 2010
I need the ability to search for file content in documents and spreadsheets and I need to be able to do this from the folder level.When I hover my mouse over the "search" button in the file browser toolbar, it says that it can "locate documents and folders on this computer by name or content," but that is not the case. It can only locate documents and folders by name. Is there something I need to download that will allow me to do this? I have nautilus file manager.
View 9 Replies
View Related
May 11, 2010
I recently used scalpel to recover .doc files. I only need to find just one file, but scalpel retrieved thousands and thousands of them, all titled after a sequence of numbers. If I could only search within them all for a single word I'd be able to identify the ones to check out vs. the duds immediately.
View 6 Replies
View Related
Nov 28, 2010
How can I search for one 6 letter word throughout all of my Ubuntu files?
Sounds simple but I've not found what I'm looking for. The bottom line is that I am wanting to clean up a file association in mime. I would have had more success if I were searching for this under XP. I must be doing something wrong.
Since I trialled a commercial company's map product under Wine somewhere in my system is still their name. Any gpx file I choose to download and the company's name appears in properties. Ggx files are also associated with Wine whilst an untainted PC in the house just has "Browse" as an "open with" option.
First things first, how do I find and delete this commercial company's name totally from any part of my system? How do I find their name in one or more of my files?
View 9 Replies
View Related
Dec 29, 2010
What's the best software people know of for searching for files in Ubuntu?
View 9 Replies
View Related
Apr 20, 2011
My Search option under Places is not available. Earlier it was available but today when I checked its not there. How to restore it.
View 1 Replies
View Related
May 8, 2011
any utility to search for a file of a particular extension like search for all .txt files only
View 1 Replies
View Related
Feb 25, 2010
I would like to search for a term within a batch of text files and copy the files containing that term to a folder.
I've read the man pages for Grep, Ack-grep and looked through nautilus, dolphin, midnight commander as well as tried beagle, tracker and google desktop (and looked throught these forums).
I can do this function easily with xp's wagging dog in the Windows search, but would like to find a way in Linux.
View 5 Replies
View Related
Sep 14, 2010
I want to use the terminal to search for all files (also the hidden ones) who are not of a specified type.
For example; I want to find all files that do not end with *.txt.
How do I do this?
View 9 Replies
View Related
Sep 29, 2010
When I use "Search for Files" in Ubuntu (9.1 and 10.04), sometimes the computer continues to search after I've double clicked one of the results, and it noticeably slows the launching of that file unless I immediately click "stop" on the search window
View 2 Replies
View Related
Mar 7, 2011
I am trying to search for a term in a bunch of files. Is there a way to do this. I would like to search all the files in a directory and its subdirectories for a specific term.
View 1 Replies
View Related
May 9, 2011
Is there anything special I need to do to get file searching working in Unity? Currently Search for Files never finds anything in my documents area. I just get "Your Search did not match any files"
View 4 Replies
View Related
Jun 23, 2011
Is there really no way of having with a GUI an indexed file search by filename (not contents etc) which gives a detailed list? Great big icons as a "result" is no good to me, I want "details" that I can then click on to either open or copy etc. I tried the totally useless "Tracker" and Zeitgeist in my 11.04 is no better. There is a fantastic product in the win environment called everything.exe which does exactly what I want. I cannot be alone in this type of requirement. It has to have a GUI.
View 9 Replies
View Related
May 9, 2011
I'm trying to search the string "Listen" in a few files (config files). I madefind /apps/apache* -exec grep -H Listen {} ;but the result list is very long. How i make a "grep -v" whith this command?
View 3 Replies
View Related
Jan 11, 2010
With Windows, I can use ifilter in acroread to search pdf content. How about in Linux? Which software can be used to search pdf files without opening them?
View 7 Replies
View Related
Aug 24, 2010
My Linux system has an NTFS disk attached to it. How can I search for all *.txt files on the NTFS partition using Linux?
View 2 Replies
View Related
Mar 6, 2010
I have a hidden folder with a lot of text files in it. I would like to search in this folder for all files containing a given text.The File Browser's" FIND searches only in the file names, not in their contents.The FIND function of Ubuntu does not allow me to search ONLY in the given hidden folder. So, how can I find my files within the hidden folder with the given text within them?
View 7 Replies
View Related
Jul 10, 2010
I know you can use grep to find keywords in filenames, but is there a variation that can enable you to search the content of the files themselves?
View 9 Replies
View Related
Jan 29, 2011
I am running Ubuntu 10.10 and have a 2TB external hard drive where I store several hundred movies. Each movie is contained in its own folder (in case the movie is broken up into more than 1 file). All the movie folders are contained in one "Movies" folder, so a typical movie location would be something like:
/media/MyBook/Movies/The Matrix/The Matrix (disc1).avi
Because of this, my movies are in alphabetical order, which is nice if I'm looking for a specific movie, but I'd also like to classify each movie into one or more genres. Sometimes I'm in the mood for a certain type of movie, and don't want to just browse aimlessly through the alphabetical list. So for example, The Matrix might be classified as Action, Science Fiction, and Thriller. If I were to add these genres into the "Notes" property of a movie folder, is it possible to conduct a search for words only in these notes? So that if I did a search for "Thriller" this movie and any other movie I classified as a thriller would show up?
View 3 Replies
View Related
May 14, 2011
I am using Files and Folders search application in Ubuntu 11 recent version. App that shows up on side. However I am not sure how clean its search result. I do not see any option.
View 2 Replies
View Related
May 18, 2011
When using the "Files & Folders" search from the Unity launcher I can set what to search for. There are several options like "All files", "Folders" etc. I would prefer to be able to search files /and/ folders at the same time (The unity label is after all "Files & Folders, not Files or Folders). Is there a way I can get it to work like that which to me would be much more efficient?
View 9 Replies
View Related
Sep 1, 2011
how to search for those files which contain word "AM_COLLECTION=22". I need to know all the files with this string. ( I know the grep command can do it but either
View 4 Replies
View Related
Jul 4, 2010
I would like a command or a bash script that search all files in all sub, modified last 12 hours, in /var/logs and that contains "alfa" or "bravo". The output should be filename of the file or files that contains that.
View 3 Replies
View Related
Aug 31, 2009
i have finished installing mysql, howeve some of the files were missing, like mysql.h. i have downloaded a DEV version which has all the files im looking for, however when i add my c++ file to the directory that they are in, it still does not run because it cannot find the mysql.h where does the compiler look for these files, or where should i put them?
View 3 Replies
View Related