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.

learn more… | top users | synonyms

1
vote
2answers
20 views

Compare list of files from a database using find to locate missing files

I have a list of 2000 files from a database that looks like this: ./aa/0f/unique-string/IMG_0987.JPG ./ab/cf/unique-string/IMG_0987.JPG I want to compare that list to the actual directory contents ...
0
votes
1answer
9 views

find certain item of a file by using command line tool in windows 7

recently I used findstr "ItemThatIsBeeingSearchedFor" C:\Windows\System32\drivers\etc\hosts > J:\documents\HostsFile\ResultOfSearch.txt in order to output a certain entry of the hosts file into ...
0
votes
1answer
24 views

Search directories listed in the PATH environment variable

I am trying to find and remove any instance of a .dll that appears in any directory that's on the PATH environment variable in windows. Is there an easy way to do this from the CMD window?
0
votes
0answers
8 views

Error trying to copy files with find and cpio

I have a bash script that I use to periodically make a backup of proofs (PDFs & JPGs) from a server I work on. I put together the script a couple of years ago and it used to work however the ...
1
vote
1answer
23 views

How to quickly move focus from the “Find” navigation pane to the beginning of the first found item

How can I most easily go from finding some text in the Navigation Pane to having the focus back on the beginning of first found instance of that text in the document? I am going through long documents ...
0
votes
1answer
26 views

Use the same “find bar” in all tabs in Firefox

Before, the "find bar" (what you get by pressing ctrl-F) was the same for all tabs. But now it is separate per tab. That is, if I write a word (e.g., "hello") in the bar, I go to another tab and I ...
0
votes
1answer
16 views

Find next in vimperator?

I'm new to vimperator. Like it for the most part, but a major problem for me is the inability to find next/previous using n and N. After I do /search_term, pressing n or N only adds to the search term ...
2
votes
2answers
35 views

Way to get Microsoft Word to remember “Find and Replace” entries for auto complete the next time after closing Word?

After you use “find what”, or “replace with”, the entry will be remembered for auto complete the next time. When you quit Microsoft Word, the suggestions are no longer remembered. Is there a way to ...
2
votes
1answer
36 views

mac find -name *.png does not work [duplicate]

I am trying to recursively search for a filename ending in .png My find command works fine for *.js, but not for *.png. ~ >find dev -name *.png ~ >find dev -name bluerightarrow.png ...
0
votes
2answers
30 views

How to search using find command in external hard disk

I have an external hard disk. I have to search for a folder called Visa in that external Hard disk named ASTUTE. There might be multiple VISA folder but I want to search for all of them. I navigated ...
1
vote
4answers
76 views

Find directories that contain more than one file of the same extension

I’m using Debian 8.0 and would like for example to find directories that contain more than 1 .mkv file. I tried this and it failed: find -type d -exec find {} -name '*.mkv' | wc -l\; There is a ...
0
votes
1answer
4 views

Define path exclusions for find globally

I have 2 directories that I want to exclude from all my find searches: .git and node_modules I've been trying to define an alias that would do it, but haven't been successful. Something similar to ...
0
votes
1answer
18 views

Using grep for text search

I need to search the filesystem for text strings that match some string. I'm trying to get where the commands are used, meaning in which files they are called or used. I need to find every file where ...
0
votes
1answer
41 views

Linux Bash: Moving/Copying files/directories by timestamp

This is the command I am using: find absolute-path -name "*" -amin -120 -exec cp -f absolute-destination {} \; I’m trying to copy a lot of directories from a directory to another directory, but ...
2
votes
1answer
40 views

find: missing argument to `-exec' when using + form of find

I want to execute a command on the paths found with the find command and I want to use + to reduce the number of times the external command is launched. Critically, the command has a fixed value ...
0
votes
1answer
17 views

how can I enable “higher elevation” in windows 7?

each time I try to save a file from Open Office or any program like it, I get requires higher elevation. I have tried to search for the file but nothing comes up and I not knowledgeable enough to know ...
0
votes
2answers
35 views

Zero out files in folder(s) that have space in file name

I'm trying to zero out (truncate) all the files in a folder or subtree that match a wildcard. Another post recommended using the find … -exec method over for variable in wildcard, which received high ...
0
votes
1answer
17 views

Excel: Find&Replace issue

I'm trying to find out, how to replace only those substrings (in my case it is ,_ where _ is a space), which starts at the beginning of the cell. I suppose, the solution should be like this regex: ...
0
votes
0answers
14 views

Search in build results window - Sublime Text 3

When the Build Results panel is open, I frequently want to search in it. The only solution I've found so far is to copy all contents, open a new tab, paste contents, then do a find. Is there any way ...
0
votes
0answers
60 views

ZFS on Linux - is the .zfs special directory incompatible with find?

My ZFS pool has a number of datasets with snapshots that contain junk. I'm copying the valuable files to a new dataset so that I can then delete the snapshots. The basic approach I'm taking is to ...
0
votes
1answer
51 views

Is there any difference between -exec cmd {} and xargs -I?

Normally, xargs bundles everything together, but when used with the -I flag it seems to put evaluate everything as a single line. Does this mean it loses its speed advantage? Also if the -exec cmd {} ...
1
vote
2answers
58 views

Wildcard not working in cp command when using exec

I want to copy all the files in all the directories to the parent directory, but I get the error ./img/* is not a directory For example. Here is the command that I used. Is there a better way to do ...
0
votes
2answers
45 views

Find directory name and file size in Linux

I have various folders used for product feeds across my server named 'empro'. Sometimes these folders fill up so I find them all on the server using: find /var/www/vhosts -type d -name 'empro' This ...
0
votes
0answers
41 views

HP6600 --Mac computer says can't find printer

OfficeJet 6600 printer was working and printing fine. Now says 'can't find printer'. any suggestions? Note: the printer icon on the desk top is now showing the wireless symbol. I never set it up for ...
0
votes
1answer
51 views

Excel: Find and Replace - Adjacent Columns

In excel, after I search and click "find all", I want to see the matching adjacent column values in the results list (so I can compare them). Is there a way for me to archive something like this? Or ...
0
votes
2answers
51 views

How to find files created between hh:mm and HH:MM for any day?

For instance, find all files created between 20:00 and 23:30 for any day (not a specific day)? been going through man find and didn't see anything that would do this. Would I have to write my own ...
0
votes
1answer
24 views

Sublime Text - Find next - go back to beggining of file like Chrome does

In Google Chrome, when you search for a string and you keep pressing the "down arrow", if you are at the last string found, and you click again the down arrow, if goes back to the first string found ...
1
vote
0answers
26 views

finding data with multiple conditions and replacing it with new data

I am working with 2 worksheets, 1 contains all my raw data and the other works as a dashboard with my pivot table and charts. I hope you can help me create a cell input range in my dashboard ...
2
votes
1answer
35 views

Using find on Linux to find files with group/other permissions that match

I've got a need to find all files in a directory where the group and other permissions match (eg. those where the group membership of the file doesn't actually affect access). Since there are only 8 ...
0
votes
3answers
53 views

Why isn't & working?

So I ran the command find / .bash_profile to see if it existed anywhere on my Mac before I create one. Searching the entire computer obviously takes a minute, so I wanted to run it in the background ...
0
votes
2answers
108 views

Finding a file with vbs and the open the location folder

is there a way to make a script in vbs (or other) that search in each hard drive partition for a file and then opens the location folder of the file if the file was found? So if I want to find the ...
0
votes
1answer
43 views

find/xargs, filenames with spaces, and quotes

I'm looking for a way to get find and xargs (GNUWin32, under Win7, both programs at version 4.1) to play along, with filenames that contain spaces. Getting the filenames into xargs as one was one ...
-1
votes
1answer
101 views

Exclude folders with a path pattern using FIND command on Ubuntu console

PROJECTS |___ SITE1 | |____files (to exclude) | |____img | |____js | |___ SITE2 | |____files (to exclude) | |____img | |____js | |___ ...
0
votes
1answer
62 views

How to rename files to monotonically incrementing sequence numbers followed by a suffix?

I want to rename all files under a particular directory to a number followed by a suffix. For example, I want to rename all *.jpg files to 1.jpg, 2.jpg, 3.jpg, ... I thought about using find for this ...
4
votes
1answer
182 views

Find and delete folder but not content

I'm trying to find all folders named b and delete them, without deleting their content (whether folders, files, hidden files, ...). So for example, a file in a path /a/b/c/file should become ...
0
votes
1answer
23 views

How can I find all files open within a given directory?

I know I can use lsof to list open files, and I know I can use find to find files by inode within a given directory. But how can I effectively combine these two programs to list all open files which ...
0
votes
2answers
129 views

Chronologically grep or zgrep files in folder depending on file extension (xargs)

I have dozens of folders which contains both plain text log files and gzipped older logs. My goal is just a one liner to run (one folder at a time) to pull up all grep results based on timestamp ...
2
votes
1answer
94 views

Linux find command with multiple command -exec using chown and chmod

The following command runs but the two -exec commands don't run - so the file gets moved but the permissions and file owner doesn't change. find ~/Downloads/ -name "2014-12-24*" -exec sudo mv {} ...
1
vote
1answer
33 views

Telling 'Find' to exclude core system directories (“! -name -'*.svn'” doesn't work)

I'm trying to do a "search and destroy" on the copy of GHC that's currently installed on my system (so I can reinstall a new version). As part of locating any residual files which may be left over, ...
0
votes
1answer
58 views

How to find a specific row in Excell

I am looking for some formula in Excel like give me the number of the row which its first column is 5 and its second is 3 I have searched the web but I have found lookup, search, find and ... which ...
2
votes
1answer
115 views

Find all files matching desription and create hard link in directory

I would like to find all .mkv files in my download directory and create a hard link to them in my /movies/ directory. Here’s what I have so far: for i in `find /download/ -name *.mkv`; do ln "$i" ...
1
vote
1answer
44 views

find command + remove older directories according to directory time stamp

I want to delete directories that older than 180 days for example directories that older than 180 days: drwxr-xr-x 2 root root 4096 Oct 1 2009 nis drwxr-xr-x 3 root root 4096 Nov 4 2012 pkgs ...
0
votes
0answers
20 views

Improve google-chrome find behavior on page content change or page reload

It seems that Google chrome behavior in its find feature (Ctrl + F) is rudimentary. Consider these 2 scenarios: We are looking for a text and type it in the find text-box, then the content of the ...
0
votes
0answers
16 views

Find specific files by name and create a summary file containing info from them + name of their directory

I've a directory containing subdirectories (each of them containing also directories). I want to find into this directory all files names "Log.txt" ( and in each subdirectories). And to grep each of ...
0
votes
0answers
21 views

Recursively create/update tarballs of old files inside directories

I have an archive directory of ftp files. I want to schedule a job to zip up any files that are older than 6mo into an tarball in each directory. I've started writing the script, but I feel like ...
0
votes
1answer
68 views

Search through tar files for a pattern and print the full path of what's found

I have directory tree with many tar files. Each tar file contains many other files. I want to search through all the tar files for a given pattern, and print the full path of any files within a tar ...
3
votes
2answers
857 views

Is there a way in Sublime Text to display find results in a panel at the bottom of the current window?

This is a highly useful feature in other editors eg. Eclipse and Notepad++ You get to see the list of find results printed as all the containing lines with their lines in the buffer, which gives you ...
1
vote
1answer
72 views

Mac command-line sort files into subfolders

I want to run a command on a very large folder to sort every item into subfolders based on modification date. Can this be done with one line? I.e., all files modified in July 2013 would be moved to ...
1
vote
0answers
5 views

Go to next matching page in Acrobat

In Acrobat X, if I search for a term using Command-F, I can find each match by pressing enter. Is it possible to go to the next page containing the search term (rather than to the location of the term ...
3
votes
4answers
431 views

On Linux or Windows, how do I find the path for all mp3s that are the only mp3 in that directory?

I have a Music folder and the contents look like this: Music     -ArtistA ...