[ale] Stumped-

Lightner, Jeff jlightner at water.com
Thu Mar 11 10:25:40 EST 2010


You are trying to find if a single client has the same file in both images and movies with a different size?

-OR-

You are trying to find clients that have the same file in images as other clients but with different sizes and the same thing with movies?

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Dennis Ruzeski
Sent: Thursday, March 11, 2010 10:09 AM
To: Atlanta Linux Enthusiasts - Yes! We run Linux!
Subject: Re: [ale] Stumped-

Exactly- I need to look in images and movies for the same file name
with different sizes for each client.

--Dennis



On Thu, Mar 11, 2010 at 9:59 AM, Dave Weiner <davew at coyotetechnical.com> wrote:
> Dennis Ruzeski wrote:
>> I have a directory structure-
>>
>> |
>> |
>> \client1\
>> |           \images
>> |           \movies
>> \client2\
>> |           \images
>> |           \movies
>> |etc..
>> To around 10000 client directories.
>>
>> I need a bash script (I started to write it in python and they want
>> bash) to go through this
>> tree and find, for each client, files with the same name but different sizes.
>
> I'm not following you.  How could you have two files for the same client
> with the same name and different sizes, unless you need to look in all
> the client dirs for the file.
>
>>
>> Pretty simple with perl or python but I'm struggling to get a shell
>> script to do the same thing.
>>
>> Anyone have any ideas?
>>
>> --Dennis
>
> Dave
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>

_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
 
Proud partner. Susan G. Komen for the Cure.
 
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------



More information about the Ale mailing list