Citeren Morten Nilsen <[EMAIL PROTECTED]>:
> Ariën Huisken wrote:
>> Sometimes my filenames are in caps, is there a way of selecting both
>> *.crw and *.CRW
>
> *.{crw,CRW}
>
> as for others, you could simply test all files, and if they aren't
> listed by lsof;
>
> egrep -qi 'crw$' $foo
> if [ $? -gt 0 ]; then
> rm -f $foo;
> continue;
> fi
>
> Obviously, don't simply copy that.. I haven't tested it.. try it out
> with echo and tweak until it works :)
>
Hmm, wont work here. Isn't there a simple inverse on
for image in $WORKDIR/$INPUT/*.{crw,CRW}; do
--
Ariën Huisken
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss