find Questions

3

I have text file and I would like to search for lines that has specific partial strings and shows only the lines that has those strings Example: Please help me in this issue Thanks a lot for g...
Limber asked 17/8, 2017 at 18:27

2

Solved

Am trying to do a simple file-name match with this below regex which I tested to be working from this page for a sample file-name ABC_YYYYMMDDHHMMSS.sha1 ABC_20[0-9]{2}(0[1-9]|1[0-2])([0-2][0-9]|3...
Tithing asked 3/8, 2016 at 11:52

4

Solved

I have two columns. One column contains string values and another column contains decimal values. I want to select the decimal value by selecting the string value. string decimal Jewel 10 Hasan 20...
Joinder asked 4/2, 2013 at 6:48

4

Solved

Using bash, how can I find a file with a specific name somewhere up the directory tree from the pwd? To be more clear. I want to find a file that sits in my working directory's root, but I don't k...
Roup asked 21/2, 2012 at 11:37

3

Solved

I realize that Microsoft had some sort of reason for adding the new "Find" tool in the folder EXPLORER section of VSC.. but... I'm a creature of habit. When I click on a file and then pre...
Contend asked 15/9, 2022 at 23:34

2

Solved

Ever since I installed update to PyCharm 2021.1 my find usages and find in files features always return nothing found. Is there some settings that I'm missing that I suppose to set in this new vers...
Marieann asked 18/4, 2021 at 17:24

9

Solved

I have several configuration files nested like such: C:\Projects\Project_1\project1.config C:\Projects\Project_2\project2.config In my configuration I need to do a string replace like such: <...
Stacee asked 14/5, 2010 at 21:36

49

Solved

How do I exclude a specific directory when searching for *.js files using find? find . -name '*.js'
Dactyl asked 17/11, 2010 at 22:57

49

Solved

How do I exclude a specific directory when searching for *.js files using find? find . -name '*.js'
Edmundedmunda asked 17/11, 2010 at 22:57

49

Solved

How do I exclude a specific directory when searching for *.js files using find? find . -name '*.js'
Kiri asked 17/11, 2010 at 22:57

49

Solved

How do I exclude a specific directory when searching for *.js files using find? find . -name '*.js'
Xeric asked 17/11, 2010 at 22:57

49

Solved

How do I exclude a specific directory when searching for *.js files using find? find . -name '*.js'
Bascomb asked 17/11, 2010 at 22:57

10

Solved

I'm trying to use GNU find to find only the directories that contain no other directories, but may or may not contain regular files. My best guess so far has been: find dir -type d \( -not -exec...
Anole asked 24/11, 2010 at 17:40

57

Solved

How do I find all files containing a specific string of text within their file contents? The following doesn't work. It seems to display every single file in the system. find / -type f -exec ...
Fillian asked 6/6, 2013 at 8:6

14

Solved

Recently, I've begun to notice that Visual Studio 2008 isn't finding all of the instances of a text I search for when I'm searching Entire Solution. It will start to search through the files to fin...
Morrow asked 28/1, 2009 at 20:53

13

Solved

I have two large files (sets of filenames). Roughly 30.000 lines in each file. I am trying to find a fast way of finding lines in file1 that are not present in file2. For example, if this is file1:...
Radical asked 13/8, 2013 at 9:5

22

Solved

It seems that ls doesn't sort the files correctly when doing a recursive call: ls -altR . | head -n 3 How can I find the most recently modified file in a directory (including subdirectories)?
Gaunt asked 30/12, 2010 at 10:37

3

Solved

Is there any integrated solution in Delphi 2007 to check whether a TStringList contains a part of a certain value? e.g.: List.AddObject('This is a string', customStringObject1); List.AddObject(...
Megass asked 9/10, 2012 at 9:18

9

Solved

my .bashrc has the following function function myfile { file $1 } export -f myfile it works fine when i call it directly rajesh@rajesh-desktop:~$ myfile out.ogv out.ogv: Ogg data, Skeleton v3.0 ...
Gapin asked 16/6, 2010 at 20:6

6

Solved

I'm trying to find a value in a list of objects in kotlin, using for it "filter", but I need to return true or false if the value is found, but filter returns me a list of object in the case of mat...
Gronseth asked 27/2, 2020 at 15:28

2

Solved

Delete files older than 3 months how? For 90 days i know: find /tmp/*.log -mtime +90 -type f -delete But how do i know 3 months equal to always 90 days? how many exact days? Is there more bette...
Whereas asked 23/8, 2017 at 11:19

5

I'm using the following command to delete four largest size files in a folder: find "/var/www/site1/" -maxdepth 1 -type f | xargs ls -1S | head -n 4 | xargs -d '\n' rm -f It works fine, but from...
Cresida asked 6/1, 2015 at 14:25

3

Solved

How can I find files on Linux that have a filename shorter than n characters? For example, to have something to work with, I am looking recursively for all filenames within /home/myuser that are l...
Cockaleekie asked 6/7, 2015 at 14:46

8

Solved

How can I find a file by name (or path) in Visual Studio Code? A Visual Studio shortcut I'm used to is CTRL+,, but it does not work here.
Chum asked 18/9, 2015 at 9:29

2

Solved

I'm trying to find a way to list all registered domains under a top-level domain (TLD). I.e. everything under .com, .net, etc. All the tools I find only applies to finding subdomains under a domain...
Rapids asked 27/8, 2015 at 19:20

© 2022 - 2025 — McMap. All rights reserved.