🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #748

Re: Renombrar ficheros

#748
From: Pere Pujal i Carabantes
Date: Mon, 25 Sep 2006 18:09
22 lines
1691 bytes
Hola ravenheart!

El 25-09-2006
ravenheart va escriure en 
es.comp.os.linux.programacion:
 
> > Soy nuevo en esto del scripting.
> > Tengo una serie de ficheros en un directorio con la misma extensi�n 
> > (01.xxx, 02.xxx, ...) y quiero renombrarlos a (01.yyy, 02.yyy, ...)
> > �Como hacrlo?
> > Gracias

> O, en su defecto, me valdr�a con quitarles (los n �ltimos caracteres)

man rename

Asi sin probar rename 's/xxx/yyy/' *xxx
-- 
Mentjant spam a sc@fornol.no-ip.org
Comiendo spam en cs@fornol.no-ip.org
Je mange spam a spamc@fornol.no-ip.org
Eating spam at cspam@fornol.no-ip.org
Technical Details
Message-ID: <slrnehg6qa.g7.ppujalARROBA@hola.fou.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.antakira.com!mainake.escomposlinux.org!escomposlinux.org!news-5.escomposlinux.org!not-for-mail
References: <ef93cn$pf2$1@hefestos.uned.es> <ef944m$pf2$2@hefestos.uned.es>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,49b05d3cf6e2b1ae
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.antakira.com!mainake.escomposlinux.org!escomposlinux.org!news-5.escomposlinux.org!not-for-mail
From: Pere Pujal i Carabantes <"ppujal A R R O B A"@airtel.net>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Renombrar ficheros
Date: Mon, 25 Sep 2006 18:09:14 +0000 (UTC)
Organization: hola
Lines: 22
Message-ID: <slrnehg6qa.g7.ppujalARROBA@hola.fou.net>
References: <ef93cn$pf2$1@hefestos.uned.es> <ef944m$pf2$2@hefestos.uned.es>
Reply-To: Pere Pujal i Carabantes <ppujal A R R O B A@airtel.net>
NNTP-Posting-Host: 105.red-81-34-83.dynamicip.rima-tde.net
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news-5.escomposlinux.org 1159208055 11178 81.34.83.105 (25 Sep 2006 18:14:15 GMT)
X-Complaints-To: mainake@escomposlinux.org
NNTP-Posting-Date: Mon, 25 Sep 2006 18:14:15 +0000 (UTC)
User-Agent: slrn/0.9.8.1 (Debian)