Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to display file whose size is between 100 to 200 kb ??? Post 302960486 by sonu pandey on Monday 16th of November 2015 08:58:09 AM
Old 11-16-2015
How to display file whose size is between 100 to 200 kb ???

help me
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Display Directory Size - DF?

How can I display the size of a directory and contents witin a directory df only gives me the mounts (3 Replies)
Discussion started by: t4st33@mac.com
3 Replies

2. UNIX for Dummies Questions & Answers

Display size

Hi Friends, I'm a Oracle Dba first time working in Solaris, i have worked on linux (redhat). I want to see the size of the particular directory e.g oracle and also the size of the database files. Thank you (1 Reply)
Discussion started by: shaan_dmp
1 Replies

3. UNIX for Dummies Questions & Answers

display all dates 200 days back

i need help! can someone help me please? i try to calculate date under unix (ksh)...AIX operating system. I have to find the date 200 days from today's date. then the script should loop 200 times and display on command line every day's date until the current date. example: todays date:... (1 Reply)
Discussion started by: pavan_test
1 Replies

4. Shell Programming and Scripting

display all dates 200 days back

i need help! can someone help me please? i try to calculate date under unix (ksh)...AIX operating system. I have to find the date 200 days from today's date. then the script should loop 200 times and display on command line every day's date until the current date. example: todays date:... (4 Replies)
Discussion started by: pavan_test
4 Replies

5. Shell Programming and Scripting

List UID's between 100 and 200

If i wanted to list all users who have a UID between 100 and 200 which command would i use? (1 Reply)
Discussion started by: warlock129
1 Replies

6. Shell Programming and Scripting

How to display file name and its size ?

Suppose there are 3 files inside a directory, then i need to use display command which will display, the file name and its size. Is it possible? The output should llook like this only file1 1248 file2 3024 file3 3056 (6 Replies)
Discussion started by: sundaresanv
6 Replies

7. Shell Programming and Scripting

Display the Filename and Size of a File

Hello, all! Working in a Bourne shell. What command would list the filename and size of a file if the size of the file had to be bigger than $a and smaller than $b? Output (if $a is 10 bytes and $b is 50 bytes):test1.txt 15 test2.txt 30 test3.txt 50 Thanks, Ann :p (3 Replies)
Discussion started by: LowlyIntern
3 Replies

8. HP-UX

find command to display size and date of a file

Hi, The blow code does not yeild any output. find . -name "*.jar" -o -name "*.ksh" -o -name "*.properties" -name "*.war" -o -name "*.ear" -o -name "*.sh" -o -name "*.cfg" -exec ls -l {} \; I wish to print the filename filesize filedate in HP-UX. Can anyone help ? (9 Replies)
Discussion started by: mohtashims
9 Replies

9. UNIX for Beginners Questions & Answers

UNIX commands to display the biggest file by size in a directory

Hello guys, Please i need to know the biggest files in my directory let's say$ >du -h | egrep 'M|G|G' 195M ./TMP 3.6M ./TP_DEC2012 146G . But here the result it's giving me the biggest directory in the path. Actually i want to know the biggest file in 146G . Can anyone... (6 Replies)
Discussion started by: gillesi
6 Replies
Test::Image::GD(3pm)					User Contributed Perl Documentation				      Test::Image::GD(3pm)

NAME
Test::Image::GD - A module for testing images using GD SYNOPSIS
use Test::More plan => 1; use Test::Image::GD; cmp_image('test.gif', 'control.gif', '... these images should match'); # or my $test = GD::Image->new('test.gif'); my $control = GD::Image->new('control.gif'); cmp_image($test, $control, '... these images should match'); # some other test functions ... size_ok('camel.gif', [ 100, 350 ], '... the image is 100 x 350"); height_ok('test.gif', 200, '... the image has a height of 200'); width_ok('test.gif', 200, '... the image has a width of 200'); DESCRIPTION
This module is meant to be used for testing custom graphics, it attempts to "visually" compare the images, this means it ignores invisible differences like color palettes and metadata. It also provides some extra functions to check the size of the image. FUNCTIONS
cmp_image ($got, $expected, $message) This function will tell you whether the two images will look different, ignoring differences in the order of colors in the color palette and other invisible changes. Both $got and $expected can be either instances of "GD::Image" or either a file handle or a file path (both are valid parameters to the "GD::Image" constructor). size_ok ($got, [ $width, $height ], ?$message) This function will check if an image is a certain size. As with the "cmp_image" function, the $got parameter can be either an instance of "GD::Image" or a file handle or a file path (all are valid parameters to the "GD::Image" constructor). height_ok ($got, $height, ?$message) This function will check if an image is a certain height. As with the "cmp_image" function, the $got parameter can be either an instance of "GD::Image" or a file handle or a file path (all are valid parameters to the "GD::Image" constructor). width_ok ($got, $width, ?$message) This function will check if an image is a certain width. As with the "cmp_image" function, the $got parameter can be either an instance of "GD::Image" or a file handle or a file path (all are valid parameters to the "GD::Image" constructor). TO DO
Add more functions This module currently serves a very basic need of mine, however, I am sure as I start writing more tests against images I will find a need for other testing functions. Any suggestions are welcome. BUGS
None that I am aware of. Of course, if you find a bug, let me know, and I will be sure to fix it. CODE COVERAGE
I use Devel::Cover to test the code coverage of my tests, below is the Devel::Cover report on this module test suite. ---------------------------- ------ ------ ------ ------ ------ ------ ------ File stmt bran cond sub pod time total ---------------------------- ------ ------ ------ ------ ------ ------ ------ Test/Image/GD.pm 100.0 91.7 63.6 100.0 100.0 100.0 93.7 ---------------------------- ------ ------ ------ ------ ------ ------ ------ Total 100.0 91.7 63.6 100.0 100.0 100.0 93.7 ---------------------------- ------ ------ ------ ------ ------ ------ ------ SEE ALSO
The "compare" function of "GD::Image" class, that is how this "cmp_image" is implemented. AUTHOR
Stevan Little, <stevan@iinteractive.com> COPYRIGHT AND LICENSE
Copyright 2005 by Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2005-12-09 Test::Image::GD(3pm)
All times are GMT -4. The time now is 03:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy