The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
29 views

Search directories and return size / disk space usage for each

On my server I have a bunch of accounts that have WordPress installed and also have backup directories in the format: softaculous_backups. I can find all the directories using the command: $ find / ...
2
votes
3answers
102 views

Search and Delete duplicate files with different names

I have a large music collection stored on my hard drive; and browsing through it, I found that I have a lot of duplicate files in some album directories. Usually the duplicates exist alongside the ...
9
votes
3answers
715 views

How can I search in vim for a pattern that is NOT case sensitive?

I occasionally search through files in vim or less using / or ? but as far as I can tell, the search patterns are case sensitive. So for example, /foo won't find the same things that /FOO will. Is ...
1
vote
1answer
26 views

How to disable mail search in tracker-needle?

I wish to search only my local folders. Everything was ok, until I installed thunderbird and downloaded mail. Now searches take too much time, because tracker searches the mail to. Where in the ...
2
votes
2answers
168 views

Move specific files from multiple directories

I have got tons of directories with thousands files of various filetypes: dir |__ subdir | |__ file.foo | |__ file.bar | |__ file.txt | |__ (...) |__ (...) What is fast and ...
1
vote
0answers
71 views

Tracker-extract and Tracker-store processes consuming huge Amount of RAM

I am using Arch Linux, kernel 3.16. From last one week my two processes tracker-extract and tracker-store are taking too much RAM. It results in hangup of system once in every 2 hours. ...
1
vote
1answer
19 views

big-scale tracker alternative for server filesystems

I'm using 8tb RAID storage (XFS filesystem) filled witch lots of files. By default Suse had installed tracker for file indexing/searching but: It's constantly reading HDDs (like for half a year now ...
0
votes
1answer
1k views

How to search and list files and folders with specific pattern? [duplicate]

Imagine I only know a part of the name of the folder(s) or file(s), but don’t know their location(s) in the computer. I even don’t know whether they are hidden or not. How can I search and list them ...
2
votes
2answers
126 views

What tools can I use for PDF indexing?

In our working group we used Recoll on a Ubuntu PC to index all the PDF. For a while we moved everything to a Redhat server. Is there a Recoll alternative which doesn't requires a GUI adn support ...
2
votes
1answer
2k views

Find font file from font name on Linux

I have a font with the name Media Gothic. How can I find the file name of that font in Linux? I need to copy that file to another system. I've tried: find /usr/share/fonts/ -name '*media*' But this ...
2
votes
3answers
86 views

How to list backup files missing corresponding real files?

I accidentally deleted some files spread across my home directory, but I do not know exactly which ones were removed. How can I get a list of all backup files missing their corresponding file? ...
6
votes
2answers
3k views

Remove unknown unicode character from textfiles - sed, other bash/shell methods

I need to search and replace all occurences of an unknown character in some files having the same name. Opening such files with vi, I read <91> code for that character. Opening them with nano, I ...
1
vote
4answers
81 views

search for multiple condition and then redirect output

How can you search for all lines containing “55=MSFT” and not containing the string “OPEN” in a file, then redirect the output to a file named MSFTFILE?
1
vote
1answer
34 views

Search for all messages containing a sring only in those files which is mentioned in a text file

You are in a directory with a large number of FIX logs that are over 1GB in size. You have a text file containing the names of 10 of those files. How can you search for all messages containing ...
1
vote
2answers
500 views

Find duplicate file names with specific matching pattern

I have a folder with some files (snippet of the contents of the folder) PAT1.URGRSVP.50.WR786842JOB11632.WRS20140.FILE0005.DAT PAT1.URGRSVP.50.WR786842JOB11643.WRS20140.FILE0003.DAT ...
11
votes
7answers
19k views

How can I “grep” patterns across multiple lines?

It seems I am misusing grep/egrep. I was trying to search for strings in multiple line and could not find a match while I know that what I'm looking for should match. Originally I thought that my ...
5
votes
3answers
5k views

How to search for video files on Ubuntu?

I had downloaded a video a few months back. I'm not very well remembering the name by which it is saved. Is there any command or any method that will output only video files so that I can search for ...
1
vote
2answers
362 views

Is it possible to search text within text-files using Catfish?

I want to find a line in system files - that is I need to scan a lot of files for that. I learned that I can use grep -r <word> * replacing with the needed expression. Can Catfish do ...
4
votes
1answer
2k views

How search for a file beginning with either a or z and ending with a or z?

I attempted find -name 'a*' 'z*' '*a' '*z' but it gave me the error code find: paths must precede expression: z* I know how to find files starting with a though z, or ending with a-z, but not ...
6
votes
3answers
433 views

find all end subdirectories in a tree

given the following structure: oz123@debian:~/ $ tree . . ├── a │ ├── a1 │ ├── a2 │ └── a3 ├── a1 │ ├── a11 │ ├── a12 │ └── a31 ├── b │ └── b1 │ ├── b11 │ │ └── b21 │ ...
2
votes
2answers
3k views

Get list of all files by mask in terminal

I want to find all *.h,*.cpp files in folders with defined mask, like */trunk/src*. So, I can find separately *.h and *.cpp files: find . -path "*/trunk/src/*.h" find . -path "*/trunk/src/*.cpp" ...
0
votes
0answers
298 views

Installing mlocate on mac OS 10.7

I'm a beginner in using Linux. I'm trying to use the command "locate". Once I use this command, I get an error that says the locate database should be created. I used the command below to create that ...
3
votes
2answers
113 views

Vim global search in a project

I started using vim two weeks ago switching from sublime and I am a ruby developer I know for a fact that Ack and Ag work very good on a Mac while they're not optimized for my Ubuntu machine. These ...
3
votes
3answers
12k views

List all files in a directory recursively but exclude directories themselves

Simple question, I'm running the following find command: find . -type d \( -path ./.git -o -path ./log -o -path ./public -o -path ./tmp \) -prune -o -print To list all the files in my directory, ...
2
votes
2answers
1k views

How to find files with a certain subpath?

I need to find all xml-files that are placed in folders named config. Also config must be somewhere under a folder named trunk. For example, I am interested in all files like below: ...
6
votes
6answers
48k views

List the files containing a particular word in their text

I would like to list the files recursively and uniquely that contain the given word. Example: Checking for word 'check', I normal do is a grep $ grep check * -R But as there are many occurrence ...