home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] find images by size

Others may tell you about the "cut" command, but I'll give you a better secret:

It's the "man" command. Simply do:

man cut

at the command prompt, et voila! The man command works for most Linux commands,
including itself!

man man

will show you the documentation for "man".

Walt

On Thu Jul 26 14:11 , Bruce Harding  sent:

>On Tuesday 24 July 2007 11:06 pm, Michael P. Soulier wrote:
>> On 24/07/07 Bruce Harding said:
>> > So can some one help me out with a command/script/regex to find, mv, and
>> > the convert these images which are to large? The too large images are all
>> > large than 160 dpi, but of various sizes.
>>
>> Can you identify them by running "identify" on each file and keying off of
>> the output, which includes the image size?
>>
>> Mike
>
>Someone sent me this from another group. 
>
>identify -format '%f: %wx%h\n' * | grep '[02-9][0-9][0-9]\|1[5-9][0-9]' | 
>cut -d ' ' -f 1
>
>
>I'm unfamiliar with the command "cut" does it put my files in a directory or 
>file?  Is is cutting the large files from the rest?  If so where is the info 
>going?
>
>-- 
>Bruce Harding
>Manager,
>Computer Books for Less
>RefurbComputers.ca
>1642 Merivale Rd. (Merivale Mall)
>Ottawa ON   K2G 4A1
>Phone: 613-224-0135
>Fax: 613-224-0683
>_______________________________________________
>Linux mailing list
>Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>http://oclug.on.ca/mailman/listinfo/linux
>



replies