Sponsored Content
Full Discussion: find results
Top Forums UNIX for Dummies Questions & Answers find results Post 80637 by vino on Wednesday 10th of August 2005 09:37:33 AM
Old 08-10-2005
This should work.

Code:
find / -size 10000000 2>/dev/null

vino
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to sort find results

Hi-- Ok. I have now found that: find -x -ls will do what I need as far as finding all files on a particular volume. Now I need to sort the results by the file's modification date/time. Is there a way to do that? Also, I notice that for many files, whereas the man for find says ls is... (8 Replies)
Discussion started by: groundlevel
8 Replies

2. Shell Programming and Scripting

need to move find results

I am looking for files of a certian type and logging them. After they are logged they need to be moved to a different directory. HOw can i incorporate that in my current script? CSV_OUTFILE="somefile.csv" find . -name W\* -exec printf "%s,%s,OK" {} `date '+%Y%m%d%H%M%S'` \; > ${CSV_OUTFILE} ... (9 Replies)
Discussion started by: pimentelgg
9 Replies

3. Shell Programming and Scripting

FIND returns different results in script

When I execute this line at the command prompt I get a different answer than when I run it in a script? Any ideas on how to resolve? I'm trying to find all files/dir in a directory except files that start with the word file. Once I get this command to work, I will add the "delete" part to the... (6 Replies)
Discussion started by: blt123
6 Replies

4. Solaris

Piping results of 'ls' to 'find' using 'xargs'

I'm trying to get a count of all the files in a series of directories on a per directory basis. Directory structure is like (but with many more files): /dir1/subdir1/file1.txt /dir1/subdir1/file2.txt /dir1/subdir2/file1.txt /dir1/subdir2/file2.txt /dir2/subdir1/file1.txt... (4 Replies)
Discussion started by: MartynAbbott
4 Replies

5. UNIX for Dummies Questions & Answers

Why do these 2 find commands return different results?

Hi, I am using the korn shell on Solaris box. Why does the following 2 commands return different results? This command returns no results (I already used this command to create a list of files which I moved to an archive directory) find ????10??_*.dat -type f -mtime +91 However this... (15 Replies)
Discussion started by: stumpy1
15 Replies

6. UNIX for Dummies Questions & Answers

sort find results

Hi, I have a problem with a shell script. The script should find all .cpp and .h files and list them. With: for file in `find $src -name '*.h' -o -name '*.cpp' it gives out this: H:\FileList\A\E\F\G\newCppFile.cpp H:\FileList\header01.h H:\FileList\B\nextCppFile.cpp ... (4 Replies)
Discussion started by: shellBeginner75
4 Replies

7. UNIX for Dummies Questions & Answers

How to do ls -l on results of grep and find?

Hi, Am running the command below to search for files that contains a certain string. grep -il "shutdown" `find . -type f -mtime -1 -print` | grep "^./scripts/active" How do I get it to do a ls -l on the list of files? I tried doing ls -l `grep -il "shutdown" `find . -type f -mtime -1... (5 Replies)
Discussion started by: newbie_01
5 Replies

8. Shell Programming and Scripting

HP-UX find -mmtime results are one day off

Hey, I am writing a script to delete log files that are older than one day (I'm going to run it weekly). Basically, it should work so that it only keeps the current day, but keeping the previous day as well isn't a dealbreaker. I am running the following line on the files listed below: ... (1 Reply)
Discussion started by: unaligned
1 Replies

9. UNIX for Beginners Questions & Answers

Weird 'find' results

Hello and thanks in advance for any help anyone can offer me I'm trying to learn the find command and thought I was understanding it... Apparently I was wrong. I was doing compound searches and I started getting weird results with the -size test. I was trying to do a search on a 1G file owned by... (14 Replies)
Discussion started by: bodisha
14 Replies

10. Shell Programming and Scripting

Find with rm command gives strange results

I want to remove any files that are older than 2 days from a directory. It deletes those files. Then it comes back with a message it is a directory. What am I doing wrong here? + find /mydir -mtime +2 -exec rm -f '{}' ';' rm: /mydir is a directory (2 Replies)
Discussion started by: jtamminen
2 Replies
DWWW-FIND(8)							      Debian							      DWWW-FIND(8)

NAME
dwww-find - find documentation related to a search argument SYNOPSIS
dwww-find [--program|--menu|--documentation|--docfile|--doc-base-list] [--skip=number] argument [...] DESCRIPTION
dwww-find is part of the dwww package, which provides access to on-line documentation on a Debian system via WWW. dwww-find searches for a documentation related to a given program, for entries from Debian Documentation Menu, or at least for documents registered with doc-base. It returns a HTML-formatted document with search results. OPTIONS
--program Search for documentation (man pages, info files, etc.) related to program specified by argument. --menu Search for entries in Debian Documentation Menu pages generated by dwww-build-menu(8). --documentation Search in documentation files registered with doc-base. It uses search++(1) for searching. --docfile Search for documentation for package, which contains the file specified by the argument. The file must be located in or below a directory that has been allowed by the system administrator; see dwww(7) for more info. --doc-base-list Show list of registerered doc-base files for given argument, which should be specified as format/document-id, where document-id is an identificator of registered doc-base document, and format is a name of format (e.g. text or pdf) registered by the document, for which the list list is to be generated. --skip=number Works only with --documentation. Skip number of search results. When no options are specified, --program is assumed. FILES
/etc/dwww/dwww.conf Configuration file for dwww. SEE ALSO
dwww(7), dwww-quickfind(8), dwww-build-menu(8), dwww-index++(8), search++(1), Debian doc-base Manual in /usr/share/doc/doc-base/doc-base.html/index.html. AUTHORS
Lars Wirzenius. Robert Luberda. See dwww(7) for copyrights and stuff. dwww 1.11.4 January 15th, 2011 DWWW-FIND(8)
All times are GMT -4. The time now is 06:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy