baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: "David Moberg" <davidjmoberg AT gmail.com>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] camera linux
- Date: Mon, 20 Feb 2006 11:14:07 -0800
sindi keesan wrote:
> A former list member wants a script which will add a -1 to every file name
> on a floppy disk. for i in * ; do `mv i i-1`; done ??? Should it be ' '
> not ` ` ?
for i in *; do mv $i $i-1; done
No quotes, and use $i to reference a variable. This doesn't discriminate
between directories and regular files.
David
-
Re: [BL] camera linux
, (continued)
- Re: [BL] camera linux, David Moberg, 02/24/2006
- Re: [BL] camera linux, sindi keesan, 02/24/2006
- Re: [BL] camera linux, David Moberg, 02/24/2006
- Re: [BL] camera linux, sindi keesan, 02/25/2006
- Re: [BL] camera linux, David Moberg, 02/25/2006
- Re: [BL] camera linux, sindi keesan, 02/25/2006
- Re: [BL] camera linux, David Moberg, 02/22/2006
- Re: [BL] camera linux, sindi keesan, 02/23/2006
- Re: [BL] camera linux, sindi keesan, 02/20/2006
- Re: [BL] camera linux, sindi keesan, 02/19/2006
- Re: [BL] camera linux, David Moberg, 02/20/2006
- Re: [BL] camera linux, David Moberg, 02/20/2006
- Re: [BL] camera linux, was Re: BL loopback version in Windows XP command window, David Moberg, 02/19/2006
- Re: [BL] camera linux, was Re: BL loopback version in Windows XP command window, sindi keesan, 02/19/2006
- Re: [BL] BL loopback version in Windows XP command window, David Moberg, 02/10/2006
- Re: [BL] BL loopback version in Windows XP command window, James Miller, 02/09/2006
- Re: [BL] BL loopback version in Windows XP command window, David Moberg, 02/10/2006
Archive powered by MHonArc 2.6.24.