Ubuntu :: Search Files Containing Text Within Hidden Folder

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


ADVERTISEMENT

Ubuntu :: Show Hidden Files In Nautilus Fast Search?

May 25, 2010

I mean, when you search through the bar in Nautilus, how do you make it search for hidden files too?

View 1 Replies View Related

General :: Search Text In All Text Files Of All The Sub-directories?

Apr 21, 2010

Currently, when I'm searching text in files of my PHP project, I use this line :

Code:

grep -r 'myTextToFind' *

But now, I would like to search only in ".lang" files. How can I do that ?

View 7 Replies View Related

Ubuntu :: Files On Desktop And Wanted To Put Them In A Hidden Folder?

Jul 23, 2010

I have a sort of strange dilemma.I had all these files on my desktop and I wanted to put them in a hidden folder. I put them all in a folder, then renamed that folder ".desktop" and tried to hide/unhide it with ctrl+h. It didn't work. So I moved it to my home folder. Didn't work there either, and I accidentally deleted it. Moved it out of the trash and back onto the desktop, but now it's no longer a folder. Now it's a file. I can't open it, since when I do, it says "Cannot display .desktop [return] The file is of an unknown type.

View 1 Replies View Related

Ubuntu :: Boot Checker Moved All Of Files To A Hidden Folder

Jan 17, 2010

I had bad experience with disk checking in windows. Boot checker just moved all more and more of my files to a hidden folder without me knowing. I lost a lot of photos due to this. Afterwards when I checked that folder I found that most of the files were intact and I was able to open them without a problem. How dumb is that a program moves files without your permition to do so So I'm wondering what happens with files on Ubuntu if they get corrupted or are suspected as corrupted? And how can I know if the automatic checking procedure that runs when booting found any corrupted files, bad sectors etc... ?

View 3 Replies View Related

Ubuntu :: Hidden Folders In The Home Folder That Aren't Hidden?

May 6, 2010

just a general weirdness, but some folders that are in my /home folder don't show up. if i check "show hidden folders", they still don't show up. for all terms and purposes, they are simply not there. however, if i search for them through the search tool, or beagle, they show up as being in my /home folder. so, anyone have any idea how this happened, or how i can remedy this?

View 9 Replies View Related

Software :: Use Sed To Include A Text File In The Beginning Of Other Text Files Inside A Folder And Its Subfolders?

Jun 1, 2010

Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.

View 4 Replies View Related

Software :: Evolution Is Showing Hidden Files And Folders In Folder Tree

Oct 31, 2009

I am using evolution for my email client, and it shows me hidden files and folders in the folder tree. Basically, my email folder is in a unix folder on a system, and that system logs me into my folder when I try using evolution. The downside is that files like .bashrc, .bash_profile and other weird stuff end up in the foldertree view

See how the tree would show bashrc and .lynxrc?The folder "documents" shouldn't be showing either.Yeah, that's really annoying. It showing the contents of the $HOME folder that I login to.In thunderbird those things wouldn't show.It must be evolution specific.Anyone have an idea how to fix this issue?

View 1 Replies View Related

General :: Ubuntu - Search Text In Files And Display File Name?

Mar 30, 2011

I am using find some_dir -name "*.some_ext" | xargs -l10 grep "some_expr"

to find files in folder, but I just want to display the file name but not all file content. Any solution?

View 2 Replies View Related

General :: Search For Text Strings In Multiple PHP Files?

Feb 3, 2011

Long story short, I got a folder with nearly 800,000 php files. I would like to search each file for a string and if it exists in that file, the file gets copied to another directory. Is this possible from the terminal? So far I got: grep -i -n -r 'ppr-1792' * | cp $1 move_to_here

But this obviously doesn't work. $1 needs to be the file name that contains matching text.

View 2 Replies View Related

General :: Search In Files Text That Is One-byte Encoding?

Sep 3, 2010

how to search in files text that is one-byte encoding? places - search for files in gnome in ubuntu searches only utf-8 text.i know one way: install wine and total commander, then search with it. what are better ways?[URL]

View 4 Replies View Related

General :: Recursive Search For Files That Hold Some Specific Text?

Jan 18, 2011

How do I recursively generate a text file which has a list of all files on my server which contain a specific string anywhere in the files?

I know the following command can be used to replace a string recursively

find /var/www -type f -print0 | xargs -0 sed -i 's/old string/new string/g'

I do not want to replace the string, I just want a list of all files which contain the string.

View 4 Replies View Related

Ubuntu :: Hidden Cache Folder In Home Folder - Safe To Delete?

Jun 8, 2011

upon browsing the home folder in my ubuntu system, i came across a hidden cache folder..

it occupied around 700 mb of space..and im falling short of space..

can i delete the contents in the folder? are they safe to delete?

View 5 Replies View Related

General :: Commands To Save Md5sum Of Files In A Folder Into A Text File?

Sep 14, 2010

I've found these commands in [URL]:

Quote:

find -type f -print0 | sudo xargs -0 md5sum | grep -v isolinux/boot.cat | sudo tee md5sum.txt

But I don't understand these commands, even after reading their manuals.

View 4 Replies View Related

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

Ubuntu Networking :: Remote SSH As A Non Hidden Folder?

Jun 5, 2010

It then places the folder on the desktop. However if I use any application that works with the file system, I can never see that folder. I know the physical location of the SSH folder can be traced into Home folder -> .gvfs (it is a hidden folder). However I want the SSH folder to be easily accessible on the file system. Something very similar to "Expand Drive" or "SFTP drive" in windows.

View 1 Replies View Related

Software :: Join 2 Text Files Based On First Number Present In Every Line Of The 2 Text Files?

Jan 22, 2010

I have 2 text files : file1.txt and file2.txt

cat file1.txt

15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces

cat file2.txt

2 this is sentence1file2
6 this is sentence2file2
54 this is sentence3file2

I would like to join these 2 files. The result should look as follows :

cat joinedfile.txt

2 this is sentence1file2
6 this is sentence2file2
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
54 this is sentence3file2

==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?

View 4 Replies View Related

General :: How To Access Folder Which Was Hidden

May 7, 2011

I am new to linux. How to hide a folder,and how to access a folder which was already hidden (the folder should not show any properties if we hide it).

View 3 Replies View Related

Ubuntu :: Move Hidden Folder From /home To Another Location?

Nov 3, 2010

How to move hidden folder from /home to another location - on another partition? Is it possible? I'd like to move some folders for example ./thunderbird or so that I wouldn't need to make a backup. Or at least is it possible that program can right files to two folders, or that everything from /home./thunderbird would copy automatically to ./thunderbird on another partition every time there is a change? Is it possible to write a script or something? I use luckybackup but I would like to be able to forget about backups and make script or program to do it for me.

View 9 Replies View Related

Ubuntu :: After Files Deleted Still Shows Up As Full - Shown In Hidden Trash Files

Mar 9, 2011

I have a Kingston 8gb Datatraveler that has been giving me troubles lately. For some reason after I delete files from it it still shows up as full and the files are shown in the hidden trash files. How do I get rid of these files? I can't delete them as they just show back up. Also, I tried to format the drive with gparted and it won't unmount. When I right click and select information, at the bottom it says: Unable to find mount point. Unable to read the contents of the file system. Because of this, some operations may be unavailable.

View 1 Replies View Related

General :: Recursively Cp All Directories, Files And Hidden Files?

May 17, 2010

Ubuntu 10.04

I want to copy all directories, files, and hidden files and hidden directories with one command. I want these items to replace any same items in the target directory.

I have tried several things, such as:

cp -r *
cp -aR *

but I only seem to get visible files and directories. Obviously, I am missing something. (A brain, probably....)

View 9 Replies View Related

Ubuntu :: Search For Folder ?

Jan 13, 2010

How do you search for folders in Ubuntu? The find function is great at locating files, but is ignoring folders that I know exist on my computer, even when I add the "Show hidden files" option to search. Same with entering find or locate in terminal.

View 5 Replies View Related

Ubuntu :: Search All Documents Ending In .log For String Of Text?

Oct 27, 2010

I'm trying to search all .log files in ~/.irssi/irclogs/ and it's sub directories for the string 'irssi' and I had though the command I'd used for something similar before was.How should I edit the command, and is it possible to output every line found containing the string to file?

View 4 Replies View Related

General :: Search For Text Strings

May 19, 2011

What would be the best way to search for a file that contains a string similar to this:

View 1 Replies View Related

General :: Bash - Search For A Text Pattern?

Nov 28, 2010

I need to search for a string "teststring" in all *.java files coming under /home/user1/ (including subfolders). How can I do it in linux via shell command.

View 5 Replies View Related

General :: Reverse Search Within Text From Given Anchor

Jul 12, 2011

I have a html page and I would like to search for the occurance of a given string as an anchor. Then I would like to search backward for a the first match to a given regular expression. As a result I would like to output the text between the two points.

Please note that I would like to have the output up to the first regex match before the ANCHOR point.What is the best tool to solve this?

View 1 Replies View Related

General :: Using Grep / Awk To Search For Colored Text

Sep 17, 2010

I have done a bunch of searches on this but the terms seem to get tangled in the more popular search of "colouring the output of grep / awk". I am trying to find a way to grep/awk through the output of a command to find text of a specific colour. The command's output has a range of colours signifying too many different things to specify using text, with colour being the only form of grouping.

View 5 Replies View Related

Programming :: C++ Character Search In Text File?

Jun 23, 2011

Im trying to read a file in c++ and search for particular character for example if this is a list that I have:

Alice
Bob
David

[code]....

if the input is D, it should give David, if its B, gives bob. so in this case, meaning it reads the first character of every line. but if possible I want to make this dynamic so the user can specify which character position he is looking for, so in case he is looking for R as character index 3 in all lines, it should give Charlie. but the problem is, it does now recognize , besides, I do not know how to specify the character position in each line.

here is my code

Code:

#include <iostream>
#include <fstream>
#include <cstring>

[code]....

View 1 Replies View Related

Programming :: Text Editor With Search And Capture

Dec 6, 2010

i was wondering if in all the editors/tools in linux, if there was a prog that can extract a portion of a text file, giving it a starting line of say o as the first character on a line of say o35565 oxxxxx then when it finds the next line down the file with the same thing oxxxxwhatever

it could take those lines and all the lines between them and save it to another file? i dont know if you call this parsing? or what.

View 14 Replies View Related

Ubuntu :: File Search On Home Folder?

Jul 11, 2010

I can't search file in another folder other than the home folder. Like when I try to search in my mounted NTFS drive, it only shows and only searches my home folder, not the current open folder in mounted drive. I also have installed "Beagle Search" to index my data and reduce time searching,

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved