Re: basic issue/question -- renaming in mass a bunch of files

2018-02-25 Thread Tom H
On Sat, Feb 24, 2018 at 6:12 PM, Patrick O'Callaghan wrote: > On Sat, 2018-02-24 at 23:40 +0100, Wolfgang Pfeiffer wrote: >> On Sat, 24 Feb 2018 13:14:49 -0500 >> Tom H wrote: >>> >>> Is "rename" provided by util-linux or is it a perl-provided script?

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-25 Thread Tom H
On Sat, Feb 24, 2018 at 5:40 PM, Wolfgang Pfeiffer wrote: > On Sat, 24 Feb 2018 13:14:49 -0500 > Tom H wrote: >> On Sat, Feb 24, 2018 at 9:03 AM, bruce wrote: >>> >>> Have a bunch of files with the basic naming of: >>>

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Wolfgang Pfeiffer
On Sun, 25 Feb 2018 04:21:24 +0100 Wolfgang Pfeiffer wrote: > Only a tldr: > Both Debian and Fedora have the simple rename utility that is usable > without perl knowledge. > Only Fedora actually seems to have the extended version of Larry Walls "Only Fedora": No idea whether the

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Wolfgang Pfeiffer
On Sat, 24 Feb 2018 19:48:23 -0500 Todd Zullinger wrote: > Patrick O'Callaghan wrote: > > I wonder if that version is actually prename ('dnf install prename') > > under a different name, which would be nicely ironic ... > > Heh. I think they're different. I'm not a Debian

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Stephen Morris
On 25/2/18 1:03 am, bruce wrote: Hi. Have a bunch of files with the basic naming of: ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat etc.. I'd like to simply remove the 1st part ztcloud_nfs_parsezt from the files, renaming the files to the rest

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Todd Zullinger
Patrick O'Callaghan wrote: > I wonder if that version is actually prename ('dnf install prename') > under a different name, which would be nicely ironic ... Heh. I think they're different. I'm not a Debian user though, so I could be way off on what follows. :) This gets quite messy. The

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Patrick O'Callaghan
On Sat, 2018-02-24 at 23:40 +0100, Wolfgang Pfeiffer wrote: > On Sat, 24 Feb 2018 13:14:49 -0500 > Tom H wrote: > > > On Sat, Feb 24, 2018 at 9:03 AM, bruce wrote: > > > > > > Have a bunch of files with the basic naming of: > > >

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Wolfgang Pfeiffer
On Sat, 24 Feb 2018 13:14:49 -0500 Tom H wrote: > On Sat, Feb 24, 2018 at 9:03 AM, bruce wrote: > > > > Have a bunch of files with the basic naming of: > > ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat > >

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Patrick O'Callaghan
On Sat, 2018-02-24 at 09:41 -0900, Fred Erickson wrote: > On Sat, 24 Feb 2018 18:02:39 + > Patrick O'Callaghan wrote: > > ..snip > > > > > > There appears to be 2 different "rename" programs out in the > > > world. The Fedora rename uses a text string for the

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Fred Erickson
On Sat, 24 Feb 2018 18:02:39 + Patrick O'Callaghan wrote: ..snip > > > > There appears to be 2 different "rename" programs out in the > > world. The Fedora rename uses a text string for the pattern, but > > on my Mint box the pattern is a sed-like substitution. > >

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Tom H
On Sat, Feb 24, 2018 at 9:03 AM, bruce wrote: > > Have a bunch of files with the basic naming of: > ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat > ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat > etc.. > > I'd like to simply remove the 1st part ztcloud_nfs_parsezt from

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Patrick O'Callaghan
On Sat, 2018-02-24 at 08:55 -0800, John Wendel wrote: > On 02/24/2018 08:38 AM, Patrick O'Callaghan wrote: > > On Sat, 2018-02-24 at 09:03 -0500, bruce wrote: > > > Hi. > > > > > > Have a bunch of files with the basic naming of: > > > ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat > > >

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread John Wendel
On 02/24/2018 08:38 AM, Patrick O'Callaghan wrote: On Sat, 2018-02-24 at 09:03 -0500, bruce wrote: Hi. Have a bunch of files with the basic naming of: ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat etc.. I'd like to simply remove the 1st part

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Patrick O'Callaghan
On Sat, 2018-02-24 at 16:38 +, Patrick O'Callaghan wrote: > On Sat, 2018-02-24 at 09:03 -0500, bruce wrote: > > Hi. > > > > Have a bunch of files with the basic naming of: > > ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat > > ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat > > etc.. > >

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Patrick O'Callaghan
On Sat, 2018-02-24 at 09:03 -0500, bruce wrote: > Hi. > > Have a bunch of files with the basic naming of: > ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat > ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat > etc.. > > I'd like to simply remove the 1st part ztcloud_nfs_parsezt from the > files,

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Wolfgang Pfeiffer
On Sat, 24 Feb 2018 09:03:09 -0500 bruce wrote: > Hi. > > Have a bunch of files with the basic naming of: > ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat > ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat > etc.. > > I'd like to simply remove the 1st part

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread bruce
Hey guys... Thanks for the reply. The rename cmd actually works. I just screwed it up, and used the syntax for Debian which is the regex. For Fed/Centos et al rename foo cat files -- works as expected! Thanks! On Sat, Feb 24, 2018 at 10:46 AM, Jon LaBadie wrote: > On

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Jon LaBadie
On Sat, Feb 24, 2018 at 10:46:46PM +0800, Ed Greshko wrote: > On 02/24/18 22:42, Robert P. J. Day wrote: > > On Sat, 24 Feb 2018, Ed Greshko wrote: > > > >> On 02/24/18 22:03, bruce wrote: > >>> Hi. > >>> > >>> Have a bunch of files with the basic naming of: > >>>

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Doug H.
On Sat, 2018-02-24 at 09:03 -0500, bruce wrote: > Hi. > > Have a bunch of files with the basic naming of: > ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat > ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat > etc.. > > I'd like to simply remove the 1st part ztcloud_nfs_parsezt from the > files,

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Ed Greshko
On 02/24/18 22:42, Robert P. J. Day wrote: > On Sat, 24 Feb 2018, Ed Greshko wrote: > >> On 02/24/18 22:03, bruce wrote: >>> Hi. >>> >>> Have a bunch of files with the basic naming of: >>> ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat >>> ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat >>>

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Robert P. J. Day
On Sat, 24 Feb 2018, Ed Greshko wrote: > On 02/24/18 22:03, bruce wrote: > > Hi. > > > > Have a bunch of files with the basic naming of: > > ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat > > ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat > > etc.. > > > > I'd like to simply remove the 1st

Re: basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread Ed Greshko
On 02/24/18 22:03, bruce wrote: > Hi. > > Have a bunch of files with the basic naming of: > ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat > ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat > etc.. > > I'd like to simply remove the 1st part ztcloud_nfs_parsezt from the > files, renaming the

basic issue/question -- renaming in mass a bunch of files

2018-02-24 Thread bruce
Hi. Have a bunch of files with the basic naming of: ztcloud_nfs_parseztaa_1__WGS_7500_001__parse.dat ztcloud_nfs_parseztaa_1__WGS_7500_002__parse.dat etc.. I'd like to simply remove the 1st part ztcloud_nfs_parsezt from the files, renaming the files to the rest of the filename.. Thought it