Re: Remove all but .tif
From: Noah (Roger.Noah_at_YellowCorp.com)
Date: 07/12/05
- Next message: Robert Bonomi: "Re: Remove all but .tif"
- Previous message: Noah: "Remove all but .tif"
- In reply to: Noah: "Remove all but .tif"
- Next in thread: Ed Morton: "Re: Remove all but .tif"
- Reply: Ed Morton: "Re: Remove all but .tif"
- Reply: Harry: "Re: Remove all but .tif"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 12 Jul 2005 17:14:11 GMT
Kinda like this better.
find . \( -name "*.*" \) ! -name "*.tif"
Is there any way to make find ignore case?
"Noah" <Roger.Noah@YellowCorp.com> wrote in message
news:WESAe.838$zw4.177@newssvr12.news.prodigy.com...
> Hello all,
> Does anyone have a better way to remove all files in a directory except
for
> *.tif
> This is what I came up with so far.
> ls |egrep -vi .tif | xargs -i rm {}
>
> Thanks
>
>
- Next message: Robert Bonomi: "Re: Remove all but .tif"
- Previous message: Noah: "Remove all but .tif"
- In reply to: Noah: "Remove all but .tif"
- Next in thread: Ed Morton: "Re: Remove all but .tif"
- Reply: Ed Morton: "Re: Remove all but .tif"
- Reply: Harry: "Re: Remove all but .tif"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]