Questions tagged [file-search]
This tag can refer to the process of searching a system for a specific file or the process of searching the contents of a file for specific keywords.
file-search
197
questions
1
vote
2
answers
63
views
Regular Expression for finding filenames with certain parameters but not others
First time poster. Not a programmer, but I dabble where it intersects with my work as a composer and sound designer. I apologize if this is unnecessarily detailed, but it's the best way I can explain ...
0
votes
0
answers
138
views
Error Creating Thread in Azure OpenAI Assistant - "Failed to create file operation"
I am trying to use the Azure OpenAI Assistant with the file search tool. I successfully uploaded the files and created a vector store, but I encounter a 500 - server_error when attempting to create a ...
0
votes
1
answer
189
views
When using the ripgrep command in the Terminal how can I search for files which contain one pattern AND another pattern?
With rg I want to list all files which contain PATTERN_A and PATTERN_B, possibly on different lines, but both patterns should be in the file.
I tried
rg -l -e PATTERN_A -e PATTERN_B /path/to/dir
but ...
0
votes
1
answer
107
views
File search starts with C:\\$Recycle.Bin\\S-1-5-18 and causes filesystem_error
I'm writing a program that searches a file in Windows directory by it's name, starting from C:\. I use recursive_directory_iterator and path from std::filesystem.
The problem is, while user input is ...
1
vote
1
answer
97
views
PowerShell, search for specific URL parts in .url files
Building on the code from this answer, I tried this to find all .url files which include http://kfhntwvap347, but I also tried http://kfhntwvap347:8080/consense/ in $urlParts knowing that there is ...
1
vote
1
answer
184
views
How to search for specific URLs in ".url" files?
I have a directory D:\DMS with lots of subfolders. Within these subfolders there are plenty of ".url" files which include URLs like
http://mmtst399:8080/dms/objekt?page=index&mode=...
1
vote
2
answers
78
views
List Fullname of image files of certain width or height, on Powershell
I'm trying to list the paths of all pictures with a width of 650, the intended result would be:
C:\test\650-width-picture1.png
C:\test\650-width-picture2.jpg
C:\test\subfolder\650-width-picture3.jpg
...
0
votes
1
answer
64
views
Unable to bundle searched files in Windows into a ZIP with their absolute path
I wish to search for files or folders provided to $itemsToInclude under directory C:\bea
Once found it should add the found item [file or folder] to $zipFileName while persisting the folder structure.
...
0
votes
2
answers
212
views
Python IntelliJ style 'search everywhere' algorithm
I have a list of file names in python like this:
HelloWorld.csv
hello_windsor.pdf
some_file_i_need.jpg
san_fransisco.png
Another.file.txt
A file name.rar
I am looking for an IntelliJ style search ...
0
votes
0
answers
27
views
Python pyQt5, getting data from a user-entered data file outside of program
I am trying to allow the user of my program to compare two .xlsx files; one of which is already inside the program and is currently broken down and saved as invDict, and the other which will be placed ...
0
votes
1
answer
549
views
How to loop through each subdirectory and get all files within subdirectory as group in Python?
I need to iterate through folders in a directory, one by one, and perform a function on the files within those folders as a group. Those files need to be passed together, with their respective folder ...
1
vote
1
answer
83
views
Windows search for all filenames having "string1" in the contents and not having "dislike" in the contents
Below windows powershell command helps list all files [excluding a few filenames] that contain string1
Get-ChildItem -Path "D:\Jenkins" -File -Recurse | Where-Object { $_.Name -notlike "...
1
vote
0
answers
19
views
Difficulty Implementing the 'search.strings' Argument with '1' in File Search Function made
I have been attempting a q that aims to search for files in a directory that match specific search strings, retrieve information about those files (modification date and file size), store the ...
0
votes
1
answer
56
views
How can I change the ranking of a file in the Quick Open search results listing?
I am following the Airbnb naming convention https://airbnb.io/javascript/react/#naming
Thus, I am using the index.tsx file to define my custom React Component but, I have an issue when searching for ...
1
vote
1
answer
826
views
Visual Studio Code search not showing obvious files
I'm running into issues with VS Code's file search. I've tried restarting the app, reopening the workspace, etc, but the problem persists.
Simply put, the file search can't find exact matches for ...