Skip to main content

Questions tagged [find]

The find command in Windows systems is used to filter lines of input text, and return those matching the filter. The find command in *nix system is used to locate files or folders that match a certain criteria.

0 votes
1 answer
77 views

I want my macro to find all words (in a certain unformatted document) that start with a certain string ("yyy") give these words a different formatting

I want to find all words (in a certain unformatted document) that start with a certain string ("yyy") and give these words a different formatting. The following VBA-code executes once and ...
Bert van der Saag's user avatar
0 votes
1 answer
55 views

Setting Details View by default after a find operation - Windows 10

When I perform a find operation inside a folder, the default view is Content. Is it possible to set it as Details (only for find's results, not for the file explorer)?
Federica Guidotti's user avatar
0 votes
0 answers
14 views

"find" command does not find all files from root unless folder is specified [duplicate]

I am trying to find the files that are named setenv.sh on this machine, I am logged in as root and am searching from the '/' using the following syntax and receiving the output: # First [root@...
user1917670's user avatar
-2 votes
2 answers
96 views

Can ionice reduce wear and tear on hard disks?

Without knowing how ionice works functionally, I was wondering if ionice more smartly batches disk I/O operations for more efficient physical movement (spinning disks specifically). I run a lot of ...
Sridhar Sarnobat's user avatar
0 votes
0 answers
23 views

windows-equivalent of mac's "insert pattern" functionality for {find,search}ing/replacing text

surprised no one has asked this question yet. is there any way to get the "insert pattern" functionality that is available on pretty much all mac apps with search and replace (except, ...
gagan's user avatar
  • 1
1 vote
1 answer
242 views

How to "find" while following specific symlinks on Linux?

I would like to find files (with similar feature to find), but follow and only follow specific symlinks (by pattern matching). Apparently find itself cannot handle it: There is no option to setup ...
user2771324's user avatar
0 votes
1 answer
81 views

Linux Find directories that don’t containing a specific type of file? [duplicate]

I'm new to Linux and I want to find directories which doesn't contain a type of file, like *.jpg. Is there a parameter of the find command to do that?
Daydreamer067's user avatar
0 votes
2 answers
459 views

Find and delete files with linux command line

I want to delete all files containing "chrome". I have this command on linux : find . -type f -name '' -print -delete after name I don't know what to put. I tried *chrome* or *chrome*.*...
Daydreamer067's user avatar
0 votes
0 answers
101 views

How to recursively search for files starting with ".#" under a path in zsh?

In the current working directory, la -a returns, . .#program 2.py .DS_Store picker.py .#picker 2.py .#program 3.py hw1 temp.test .#picker.py .. hw2 I ...
scribe's user avatar
  • 206
1 vote
1 answer
193 views

In `find`, after using a test like `-type d`, how can I at some point undo this setting, so the rest evaluates as if `-type d` wasn't there?

When using the command find, I often need to have a flow control, e.g. if .. then. A simplified example; find ~ -maxdepth 1 -type d -exec echo -e "\nnext beg of new dir::" \; -exec ls -lad \{...
Anton Wessel's user avatar
0 votes
1 answer
321 views

How to find and delete folders that are 15 days older using cron jobs in Truenas Scale?

I have security camera in my home it upload recorded videos to my Home NAS every one hour time intervals which is powered by Truenas Scale Operating System now all the footage are stored in my NAS I ...
user avatar
2 votes
1 answer
181 views

Linux file search: fdfind command vs. fdz command

I'd love to use the fdz command to search for files on a Linux system, the presentation of fdz results is much more pleasant. But there's something I need to resolve first. An example will be much ...
mazda's user avatar
  • 177
0 votes
1 answer
66 views

Delete line with batch script when testing only the first 4 characters on the line

How can I search in lines in the batch file. And only if the first 4 chararcters start with SLUI or VRLP then the line must be deleted. Now I have the following commands in script, only the line will ...
Nico den Breejen's user avatar
0 votes
1 answer
760 views

Regex to find more than one occurrence in GrepWin

I want to find more than one occurrence of the tag h1 in multiples files. The following regex brings files that has it more than 2 times, which is working great: /(h1.*){2}/ However, what if I want ...
Mike's user avatar
  • 377
1 vote
0 answers
96 views

Using aspell to check many files in a cancellable way

I'm on macOS and using zsh. I have about a hundred Markdown files which I would like to spell check from the command line. It seems like aspell is the right way to do this, however I want to be able ...
Nick K9's user avatar
  • 141

15 30 50 per page
1
2 3 4 5
70