[X-Unix] Re: X-Unix Digest, Vol 7, Issue 8

Eugene list-themacintoshguy at fsck.net
Fri Mar 25 06:29:23 PST 2005


On Fri, Mar 25, 2005 at 03:04:00PM +0100, Peter Dyballa <Peter_Dyballa at Web.DE> wrote:
: 
: Am 24.03.2005 um 04:40 schrieb 
: x-unix-request at listserver.themacintoshguy.com:
: 
: >and need to be able to strip all of them of :   .tif
: 
: In Terminal:
: 
: cd <dir with tifs>
: for TIFF in *.tif
: 	do
: 	mv $TIFF `basename $TIFF .tif`
: done

This will not work with filenames that contain whitespace characters.


-- 
Eugene
http://www.coxar.pwp.blueyonder.co.uk/


More information about the X-Unix mailing list