sane-project-website/old-archive/2001-02/0196.html

111 wiersze
4.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: xsane; script that converts file names from .ti</TITLE>
<META NAME="Author" CONTENT="Steffen Kluge (kluge@fujitsu.com.au)">
<META NAME="Subject" CONTENT="Re: xsane; script that converts file names from .tiff to .tif">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: xsane; script that converts file names from .tiff to .tif</H1>
<!-- received="Thu Feb 22 15:56:52 2001" -->
<!-- isoreceived="20010222235652" -->
<!-- sent="Fri, 23 Feb 2001 10:25:21 +1100" -->
<!-- isosent="20010222232521" -->
<!-- name="Steffen Kluge" -->
<!-- email="kluge@fujitsu.com.au" -->
<!-- subject="Re: xsane; script that converts file names from .tiff to .tif" -->
<!-- id="20010223102521.C25691@syd0128.fujitsu.com.au" -->
<!-- inreplyto="3A9590FB.B3BFD140@rauch-domain.de" -->
<STRONG>From:</STRONG> Steffen Kluge (<A HREF="mailto:kluge@fujitsu.com.au?Subject=Re:%20xsane;%20script%20that%20converts%20file%20names%20from%20.tiff%20to%20.tif&In-Reply-To=&lt;20010223102521.C25691@syd0128.fujitsu.com.au&gt;"><EM>kluge@fujitsu.com.au</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Feb 22 2001 - 15:25:21 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0197.html">Christoph H.: "always Segmentation Fault"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0195.html">Oliver Rauch: "Re: xsane; script that converts file names from .tiff to .tif"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0195.html">Oliver Rauch: "Re: xsane; script that converts file names from .tiff to .tif"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0200.html">Andreas Rathgeber: "Re: xsane; script that converts file names from .tiff to .tif"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#196">[ date ]</A>
<A HREF="index.html#196">[ thread ]</A>
<A HREF="subject.html#196">[ subject ]</A>
<A HREF="author.html#196">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
On Thu, Feb 22, 2001 at 11:21:47PM +0100, Oliver Rauch wrote:
<BR>
<EM>&gt; &gt; Is it possible to start a script that converts the filename
</EM><BR>
<EM>&gt; &gt; after each scan from .tiff to .tif?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; - xsane-win32 does save the files as tif.
</EM><BR>
<EM>&gt; - with unix you can select filetype &quot;by ext&quot;
</EM><BR>
<EM>&gt; and enter the filename xyz.tif, this is
</EM><BR>
<EM>&gt; recognized.
</EM><BR>
<EM>&gt; - when you compile xsane yourself you only have
</EM><BR>
<EM>&gt; to do one change to change the &quot;tiff&quot; menu item
</EM><BR>
<EM>&gt; to &quot;tif&quot; (see xsane-*/src/xsane-fixedtext.h)
</EM><BR>
<P>Absolutely. Or, if you already sit on a pile of .tiff's
<BR>
you may, depending on your shell, just use a command like
<BR>
<P>for n in *.tiff; mv $n ${n%f}; done
<BR>
<P>This will work in bash and ksh, possibly others.
<BR>
<P>Cheers
<BR>
Steffen.
<BR>
<P><PRE>
--
Steffen Kluge &lt;<A HREF="mailto:kluge@fujitsu.com.au?Subject=Re:%20xsane;%20script%20that%20converts%20file%20names%20from%20.tiff%20to%20.tif&In-Reply-To=&lt;20010223102521.C25691@syd0128.fujitsu.com.au&gt;">kluge@fujitsu.com.au</A>&gt;
Fujitsu Australia Ltd
Keywords: photography, Mozart, UNIX, Islay Malt, dark skies
--
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20xsane;%20script%20that%20converts%20file%20names%20from%20.tiff%20to%20.tif&In-Reply-To=&lt;20010223102521.C25691@syd0128.fujitsu.com.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0197.html">Christoph H.: "always Segmentation Fault"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0195.html">Oliver Rauch: "Re: xsane; script that converts file names from .tiff to .tif"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0195.html">Oliver Rauch: "Re: xsane; script that converts file names from .tiff to .tif"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0200.html">Andreas Rathgeber: "Re: xsane; script that converts file names from .tiff to .tif"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#196">[ date ]</A>
<A HREF="index.html#196">[ thread ]</A>
<A HREF="subject.html#196">[ subject ]</A>
<A HREF="author.html#196">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Thu Feb 22 2001 - 15:59:48 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>