From mint-bounce@lists.fishpool.fi Mon Mar 15 15:44:32 2010 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAN8qnktbsRTr/2dsb2JhbACaa3S5Z4R7BA From: "=?iso-8859-15?q?Jean-Fran=E7ois?= Lemaire" To: mint@lists.fishpool.fi Subject: Re: [MiNT] uuencode/decode Date: Mon, 15 Mar 2010 20:41:11 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.31.12-0.1-default; KDE/4.3.5; i686; ; ) References: <11a6f2b11003142225h75b9ba5wb868718ceaaac8d3@mail.gmail.com> <000d3e3f.018692621394@smtp.wanadoo.fr> In-Reply-To: <000d3e3f.018692621394@smtp.wanadoo.fr> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Message-Id: <201003152041.11463.jflemaire@skynet.be> X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: jflemaire@skynet.be Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o2FJiVAP020191 On Monday 15 Mar 2010 18:35:48 Jean-Luc CECCOLI wrote: > On Sun, 14 Mar 2010 23:25:25 -0600, Paul Wratt wrote: > > On Sat, Mar 13, 2010 at 6:53 AM, Jean-Luc CECCOLI > > > > wrote: > > > Hello all, > > > > > > I need to uudecode some files in a directory.../.. > > > > I presume you tried: > > ./uud.ttp /path/to/filename.u > > I even put files to process into the same folder as uud.ttp, then > set it as current and typed uud.ttp *, but with no success. > > > from the folder with the ttp. Also remember that you can drop the > > tos/ttp extension by renaming it, for use with a shell (bash, sh, etc) > > Er... that means that renaming uud.ttp to uud and moving it to bin > directory would allow me to invoque it directly from the shell ? > Anyway, as I wrote previously, it crashes after each decoded file, > so it will be very fastidious to process the ~80 files... :-( > Helmut sent me a little utility that works fine, except whatever the > amount of files in the directory, it only processes the first one > and exits. Maybe building a little script that explores the directory > and processes each file it finds... is this possible from within Bash ? Something like the following command should do the trick, executed within the directory with the files to uudecode: find . -type f -print0 | xargs -0 uud.ttp Hope this helps, JFL -- Jean-François Lemaire