Sponsored Content
Top Forums Shell Programming and Scripting find with file size and show the size Post 302359388 by rpraharaj84 on Tuesday 6th of October 2009 12:18:05 PM
Old 10-06-2009
find with file size and show the size

Hi All...

is the below command be modified in sucha way that i can get the file size along with the name and path of the file

the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also..

find / -name "*.*" -size +100000k

cheers!!!
This User Gave Thanks to rpraharaj84 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

find the file by size

Hi, Can somebody PLEASE help me. Suppose I want to find a file which has largest no of bytes in a particular directory, How do i do that. ls -s will give the size of Blocks. But I want the largest sized file and in bytes or KB OR MB. tHANKS IN advanvce. Bye Rooh :( (1 Reply)
Discussion started by: rooh
1 Replies

2. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies

3. Shell Programming and Scripting

find file size

My Question is ----------------- Assume you've a directory (i.e /home/test/) which contains n number of files, rename all the files which has byte count more than zero (0) with .bak extension. Write shell script to achieve this output, execute the same without using". / " in front of... (6 Replies)
Discussion started by: hgriva1
6 Replies

4. Shell Programming and Scripting

How to find size of a file

Hi, I have to directory /usr/inbound ------------- 10900.txt 10889.txt 109290202.txt I need to create inbound directory and i need to know size of these files one by one if file size is zero i need to print message like "empty file" Please help me how to solve this thanks krish. (4 Replies)
Discussion started by: kittusri9
4 Replies

5. UNIX for Advanced & Expert Users

how to find the file size in unix

Anybody can help HOW TO FIND THE FILE SIZE IN UNIX (5 Replies)
Discussion started by: lmraochodisetti
5 Replies

6. Solaris

Directory size larger than file system size?

Hi, We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB? I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies

7. Shell Programming and Scripting

The scripts not able to make the file to size 0, every times it go back to its original size

#!/bin/sh ########################################################################################################## #This script is being used for AOK application for cleaning up the .out files and zip it under logs directory. # IBM # Created #For pdocap201/pdoca202 .out files for AOK #1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies

8. Shell Programming and Scripting

Script to read file size and send email only if size > 0.

Hi Experts, I have a script like $ORACLE_HOME/bin/sqlplus username/password # << ENDSQL set pagesize 0 trim on feedback off verify off echo off newp none timing off set serveroutput on set heading off spool Schemaerrtmp.txt select ' TIMESTAMP COMPUTER NAME ... (5 Replies)
Discussion started by: welldone
5 Replies

9. Programming

[c] How to calculate size of the file from size of the buffer?

Hi, Can I find size of the file from size of the buffer written? nbECRITS = fwrite(strstr(data->buffer, ";") + 1, sizeof(char), (data->buffsize) - LEN_NOM_FIC, fic_sortie); Thank You :) (1 Reply)
Discussion started by: ezee
1 Replies

10. UNIX for Dummies Questions & Answers

Ls directory size reporting byte size instead of file count

I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms. Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
GForth(1)						      General Commands Manual							 GForth(1)

NAME
gforth, gforth-fast, gforthmi - a fast and portable Forth system SYNOPSIS
gforth [initialization options] [image-specific options] gforth-fast [initialization options] [image-specific options] gforthmi filename [initialization options] [image-specific options] DESCRIPTION
GForth is a fast and portable implementation of the Forth programming language. For details read the manual. ENVIRONMENT VARIABLES
GFORTHPATH contains the search path for source and image files. GFORTHD gives the gforth executable used by gforthmi for creating the base images. It should be a double indirect threaded system. Default: gforth-ditc. GFORTH gives the gforth executable used by gforthmi for computing the relocatable image from the base images. Default: gforth. GFORTHHIST gives the location of the history file used by gforth to allow command-line recall. Default: $HOME. (The history file is named .gforth-history). EXAMPLES
gforth starts the system and goes into interactive mode. gforth file1 file2 -e bye loads and interprets the files file1 and file2, then exits. gforth-fast is the same as gforth, except that it does not support accurate backtraces for signals, and is faster by up to a factor of 2. Use it for debugged, performance-critical programs such as benchmarks. gforthmi asm.fi -m 1M asm.fs creates an image asm.fi that has a default dictionary size of 1MB and has the file asm.fs loaded. OPTIONS
--help -h Lists the available options, including some not described here (see also the manual). --image-file file -i file Loads the Forth image file instead of the default gforth.fi. --path path -p path Uses path for searching the image file and Forth source code files instead of the default in the environment variable GFORTHPATH or the path specified at installation time (typically /usr/local/lib/gforth:.. A path is given as a :-separated list. --dictionary-size size -m size Allocate size space for the Forth dictionary space instead of using the default specified in the image (typically 256K). The size specification consists of an integer and a unit (e.g., 4M). The unit can be one of b (bytes), e (element size, in this case Cells), k (kilobytes), and M (Megabytes). If no unit is specified, e is used. --data-stack-size size -d size Allocate size space for the data stack instead of using the default specified in the image (typically 16K). --return-stack-size size -r size Allocate size space for the return stack instead of using the default specified in the image (typically 16K). --fp-stack-size size -f size Allocate size space for the floating point stack instead of using the default specified in the image (typically 16K). In this case the unit specifier e refers to floating point numbers. --locals-stack-size size -l size Allocate size space for the locals stack instead of using the default specified in the image (typically 16K). --evaluate forth -e forth Evaluates the forth code. This option takes only one argument; if you want to evaluate more Forth words, you have to quote them or use several -es. To exit after processing the command line (instead of entering interactive mode) append -e bye to the command line. This is an image-specific option of the default image. FILES
.../gforth.fi default Forth image *.fi Forth loadable image *.fs Forth source (sequential) *.fb Forth source (block) *.fd generated with makedoc.fs *.i C include files *.ds documentation source *TAGS etags files SEE ALSO
The Gforth manual - available in hypertext (Info, HTML) and printable (TeX, PS, ASCII) forms. The ANSI document X3.215-1994 (i.e., the ANS Forth standard). More information on Gforth (e.g., pointers to new versions, to the manual on the WWW and to papers about Gforth) is available through http://www.complang.tuwien.ac.at/projects/forth.html. AUTHORS
Gforth was written by Anton Ertl, Bernd Paysan, Jens Wilke and others. April 14, 1999 GForth(1)
All times are GMT -4. The time now is 03:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy