Re: [PLUG] Mass Removal of White Space in File Names

2011-04-18 Thread David Fleck
On Mon, 18 Apr 2011, mhew...@comcast.net wrote: Be careful, rename on Ubuntu is different that that on OpenSuSE. The command line above with an expression is an OpenSuSE style command. Could you clarify that? I didn't see anything that struck me as distro- specific. -- David Fleck

Re: [PLUG] Mass Removal of White Space in File Names

2011-04-18 Thread Rich Shepard
On Sun, 17 Apr 2011, Rogan Creswick wrote: There is as perl script called 'rename' that makes this very easy: $ rename 's/ //g' Some\ File\ Name.ext Rogan, There's no 'prename' here, but there is /usr/bin/rename as part of the util-linux-ng package. The man page does not suggest the

Re: [PLUG] Mass Removal of White Space in File Names

2011-04-18 Thread Rich Shepard
On Sun, 17 Apr 2011, Fred James wrote: Not sure why the need for a one-liner? Fred, There is no such 'need.' This bit of script (SH/BASH) extracts a list of files (excluding directories). From there my approach would be to either ... feed it to AWK I don't need a list of

Re: [PLUG] Mass Removal of White Space in File Names

2011-04-18 Thread Rich Shepard
On Mon, 18 Apr 2011, Rich Shepard wrote: I like the idea of using awk; for whatever the reason I did not see this as the most parsimonious solution. I'm probably mistaken, but my understanding is that sed would be used within a file to make changes line-by-line, while awk can be fed by the

Re: [PLUG] Mass Removal of White Space in File Names

2011-04-18 Thread Fred James
Fred James wrote: Rich Shepard wrote: I have two directories of images where each file name has spaces between the words. I'm not having success writing a shell script that takes each name in sequence, removes the white spaces, and leaves the extension as-is. I'm certain that this can

Re: [PLUG] Mass Removal of White Space in File Names

2011-04-18 Thread Rogan Creswick
On Mon, Apr 18, 2011 at 6:14 AM, Rich Shepard rshep...@appl-ecosys.com wrote: Will take the spaces out (destructively, so be careful.  I don't know how it handles filename conflicts that may arise, I suspect not gracefully.). Combined with find and xargs, you can apply it to a whole directory

Re: [PLUG] Mass Removal of White Space in File Names

2011-04-18 Thread Rich Shepard
On Mon, 18 Apr 2011, Rogan Creswick wrote: Put more generally, you're only transforming the files that currently have spaces, ... Which is the situation as I described it. - The rename is only applied to one file at a time, regardless of how it may act as a batch job, so there is no

Re: [PLUG] Mass Removal of White Space in File Names

2011-04-18 Thread Richard C. Steffens
On 04/18/2011 08:39 AM, Rich Shepard wrote: On Mon, 18 Apr 2011, Rogan Creswick wrote: - The rename is only applied to one file at a time, regardless of how it may act as a batch job, so there is no guarantee that some intermediate state of your files won't result in conflicts. Since

Re: [PLUG] Mass Removal of White Space in File Names

2011-04-18 Thread Michael
Rich Shepard wrote: I'm probably mistaken, but my understanding is that sed would be used within a file to make changes line-by-line, while awk can be fed by the 'ls' command You're correct about being mistaken.  sed is stream editor The stream can be the contents of a file, a

Re: [PLUG] Mass Removal of White Space in File Names [SOLVED]

2011-04-18 Thread Rich Shepard
On Sun, 17 Apr 2011, Rogan Creswick wrote: There is as perl script called 'rename' that makes this very easy: $ rename 's/ //g' Some\ File\ Name.ext Thank you very much, Rogan. The copy of prename you sent worked like a charm. Much appreciated, Rich

[PLUG] ANNOUNCEMENT: PLUG Advanced Topics IPv6 Networking Part 1

2011-04-18 Thread Michael Dexter
ANNOUNCEMENT: PLUG Advanced Topics April Meeting IPv6 Networking with Ted Mittelstaedt: Part 1 The first in a multi-part series on IPv6 networking by Ted Mittelstaedt, the author of The FreeBSD Corporate Networker's Guide. Part 1: Theory management ISP routing, as well as current events in

Re: [PLUG] ANNOUNCEMENT: PLUG Advanced Topics IPv6 Networking Part 1

2011-04-18 Thread Paul Heinlein
On Mon, 18 Apr 2011, Michael Dexter wrote: ANNOUNCEMENT: PLUG Advanced Topics April Meeting IPv6 Networking with Ted Mittelstaedt: Part 1 Those of you of a certain age might remember that Ted was the networking columnist for Computer Bits. He's probably forgotten more about networking than

Re: [PLUG] ANNOUNCEMENT: PLUG Advanced Topics IPv6 Networking Part 1

2011-04-18 Thread Rich Shepard
On Mon, 18 Apr 2011, Paul Heinlein wrote: Those of you of a certain age might remember that Ted was the networking columnist for Computer Bits. He's probably forgotten more about networking than I'll ever know. Paul, While I regulary read Computer Bits I don't know that I paid any

Re: [PLUG] ANNOUNCEMENT: PLUG Advanced Topics IPv6 Networking Part 1

2011-04-18 Thread Randal L. Schwartz
Michael == Michael Dexter dex...@ambidexter.com writes: Michael Part 1: Theory management ISP routing, as well as current events in Michael the IPv6 realm. For example, did you know that Nortel just sold Michael Microsoft a huge chunk of IPv4 legacy addresses for something like 7 Michael

Re: [PLUG] ANNOUNCEMENT: PLUG Advanced Topics IPv6 Networking Part 1

2011-04-18 Thread Russell Senior
Randal == Randal L Schwartz mer...@stonehenge.com writes: Randal [...] Suppose I own 4.x.x.x right now (that's 4.0.0.0/8), and Randal I'm really only using half. So I decide to sell you 4.N.x.x Randal where N 127. Now, if you're not immediately adjacent to me Randal on the internets (and it's

Re: [PLUG] ANNOUNCEMENT: PLUG Advanced Topics IPv6 Networking Part 1

2011-04-18 Thread Russell Senior
Russell == Russell Senior russ...@personaltelco.net writes: Randal Thus, there's not going to be an IPv4 gold rush, and instead Randal IPv6 *must* be deployed before the first RIRs are dry. Btw, I am all for IPv6 deployment. I've been asking ISPs about it and they are mostly non-responsive.

Re: [PLUG] ANNOUNCEMENT: PLUG Advanced Topics IPv6 Networking Part 1

2011-04-18 Thread Michael Rasmussen
On Mon, Apr 18, 2011 at 11:04:57AM -0700, Michael Dexter wrote: ANNOUNCEMENT: PLUG Advanced Topics April Meeting IPv6 Networking with Ted Mittelstaedt: Part 1 This just in: Due to IPv4 running out, APNIC have changed their name to Pacific-Asia Network Information Center. --

Re: [PLUG] ANNOUNCEMENT: PLUG Advanced Topics IPv6 Networking Part 1

2011-04-18 Thread Russell Senior
Russell == Russell Senior russ...@personaltelco.net writes: Randal Thus, there's not going to be an IPv4 gold rush, and instead Randal IPv6 *must* be deployed before the first RIRs are dry. https://www.arin.net/policy/nrpm.html Woohoo, Community Networks get a mention in 2.11 and special

Re: [PLUG] Mass Removal of White Space in File Names [SOLVED]

2011-04-18 Thread Michael Rasmussen
On Mon, Apr 18, 2011 at 09:30:46AM -0700, Rich Shepard wrote: On Sun, 17 Apr 2011, Rogan Creswick wrote: There is as perl script called 'rename' that makes this very easy: $ rename 's/ //g' Some\ File\ Name.ext Thank you very much, Rogan. The copy of prename you sent worked like a

Re: [PLUG] ANNOUNCEMENT: PLUG Advanced Topics IPv6 Networking Part 1

2011-04-18 Thread Denis Heidtmann
On Mon, Apr 18, 2011 at 5:27 PM, Russell Senior russ...@personaltelco.netwrote: Russell == Russell Senior russ...@personaltelco.net writes: Randal Thus, there's not going to be an IPv4 gold rush, and instead Randal IPv6 *must* be deployed before the first RIRs are dry.