Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Files list which are more than 300 MB size Post 302088701 by sayonm on Thursday 14th of September 2006 12:28:48 AM
Old 09-14-2006
Bug also can be done by awk

ls -l | awk '{if ($5 >314572800) print $0}'

hope this works, provided the conversion of 300mb=314572800b is right Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Command to list Files less than or equal to 2k size

Hi, *.xml files stored on date wise folders. I need to extract *.xml files from all the folders. File size is lessthan or equal to 2K. Please let me know command or some shell program to due this job on linux m/c This is urgent, Thanks in advance - Bache Gowda (3 Replies)
Discussion started by: bache_gowda
3 Replies

2. Shell Programming and Scripting

bash script working for small size files but not for big size files.

Hi, I have one file stat. Stat file contents are as follows: for example. H50768020040913,00260100,507680,13,0000000643,0000000643,00000,0000 H50769520040808,00260100,507695,13,0000000000,0000000000,00000,0000 H50770620040611,00260100,507706,13,0000000000,0000000000,00000,0000 Now i... (1 Reply)
Discussion started by: davidpreml
1 Replies

3. Shell Programming and Scripting

list the files with size in bytes

hi all plz help in listing the files with size in bytes. thnks -Bali (4 Replies)
Discussion started by: balireddy_77
4 Replies

4. Solaris

calculate sum size of files by date (arg list too long)

Hi, I wanted a script to find sum of files for a particular date, below is my script ls -lrt *.req | nawk '$6 == "Aug"' | nawk '$7 == "1"'| awk '{sum = sum + $5} END {print sum}' However, i get the error below /usr/bin/ls: arg list too long How do i fix that. Many thanks before. (2 Replies)
Discussion started by: beginningDBA
2 Replies

5. UNIX for Dummies Questions & Answers

How to get size of a list of files with specified extension?

Command ls -l *cpp lists all cpp program files in a directory. It shows the size of each file. Using a calculator to work out the total size of the cpp files would be very tedious. Is there a way to get the total size from the command line? (5 Replies)
Discussion started by: resander
5 Replies

6. UNIX for Dummies Questions & Answers

How to list files which have same size?

Hi guys, I need to do 100 files comparison after I sorted the files. There are no specific key for sorting so i plan to arrange the files based on the file size. The command that i used to sort the files by size is as per below:- ls -l | sort +4rn | awk '{print $5, $9}' The problem that i... (3 Replies)
Discussion started by: shahril
3 Replies

7. Shell Programming and Scripting

Compare list [ names and size files ]

Hello, I've downloaded a huge amont of files I've got a list of files from a remote server. -rw-r--r-- 1 str661 strem 453465260 Dec 16 15:54 SATRYS2V1_20021218_temp_bias.nc -rw-r--r-- 1 str661 strem 17669468 Dec 16 18:01 SATRYS2V1_20021225_hdyn_bias.nc -rw-r--r-- 1... (9 Replies)
Discussion started by: Aswex
9 Replies

8. UNIX for Dummies Questions & Answers

Determining file size for a list of files with paths

Hello, I have a flat file with a list of files with the path to the file and I am attempting to calculate the filesize for each one; however xargs isn't playing nicely and I am sure there is probably a better way of doing this. What I envisioned is this: cat filename|xargs -i ls -l {} |awk... (4 Replies)
Discussion started by: joe8mofo
4 Replies

9. Shell Programming and Scripting

List duplicate files based on Name and size

Hello, I have a huge directory (with millions of files) and need to find out duplicates based on BOTH file name and File size. I know fdupes but it calculates MD5 which is very time-consuming and especially it takes forever as I have millions of files. Can anyone please suggest a script or... (7 Replies)
Discussion started by: prvnrk
7 Replies
gnome-search-tool(1)						   User Commands					      gnome-search-tool(1)

NAME
gnome-search-tool - search for files SYNOPSIS
gnome-search-tool [--named=text] [--path=folder] [--sortby=order] [--descending] [--contains=string] [--user=user] [--nouser] [--allmounts] [--empty] [--follow] [--group=group] [--hidden] [--mtimeless=date] [--mtimemore=date] [--notnamed=filename] [--regex=pattern] [--size- less=size] [--sizemore=size] [--start] [gnome-std-options] DESCRIPTION
The Search for Files application enables you to search for files on your system. Search for Files uses the find(1) command. OPTIONS
The following options are supported: --allmounts Select the 'Search other filesystems' search constraint. --contains=string Select the 'Contains the text' search constraint and set the text of that entry. Use a full filename or a partial filename with wildcards. See find(1) for more details about using wildcards. --descending Set sort order to descending. The default sort order is ascending. --empty Select the 'File is empty' search constraint. --follow Select the 'Follow symbolic links' search constraint. --group=group Select the 'Owned by group' search constraint and set the text of that entry. --hidden Select the 'Show hidden and backup files' search option. --mtimeless=date Select the 'Date modified before (days)' search constraint and set the text of that entry. --mtimemore=date Select the 'Date modified after (days)' search constraint and set the text of that entry. --named=text Set the text of the 'Name contains' search option. --notnamed=filename Select the 'File is not named' search constraint and set the text of that entry. Use a full filename or a partial filename with wildcards. See find(1) for more details about using wildcards. --nouser Select the 'Owner is unrecognized' search constraint. --path=folder Set the text of the 'Look in folder' entry. Defaults to the current working directory. --start Automatically start a search. --regex=pattern Select the 'File matches regular expression' search constraint and set the text of that entry. See find(1) for more details about the regular expression patterns that can be used. --sizeless=size Select the 'Size is less than (kilobytes)' search constraint and set the text of that entry. --sizemore=size Select the 'Size is more than (kilobytes)' search constraint and set the text of that entry. --sortby=order Sort files by one of the following: name, folder, size, type, or date. --user=user Select the 'Owned by user' search constraint and set the text of that entry. gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information. EXAMPLES
Example 1: Performing a basic search automatically example% gnome-search-tool --name=a.out --path=$HOME --autostart Example 2: Performing an advanced search automatically example% gnome-search-tool --contains=unistd.h --mtimeless=3 --sortby=size --autostart EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-search-tool Executable for Search for Files ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-search-tool | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
Search for Files Manual Latest version of the GNOME Desktop User Guide for your platform. find(1), gnome-std-options(5) NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2003, 2006. SunOS 5.11 2 Oct 2003 gnome-search-tool(1)
All times are GMT -4. The time now is 03:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy