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

Re: [OCLUG-Tech] find images by size

I'm very familiar man an it is my least favourite utility of the *nix world.  
The are written for tech and not very day users.  They are often poor or no 
real world examples.

--
bruce

 On Thursday 26 July 2007 4:34 pm, Walt Sullivan wrote:
> 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?

references