how to rename a file with "!", "?", and other strange chars?

Gary Kline kline at tao.thought.org
Sun Sep 18 12:55:26 PDT 2005


On Sun, Sep 18, 2005 at 04:57:35AM -0400, Parv wrote:
> in message <20050917232747.GA76966 at thought.org>,
> wrote Gary Kline thusly...
> >
> > I scarfed up a slew of php files that are around 100 bytes in
> > strlen and with "\ " and other non-shell-friendly bytes.  Is there
> > a way to use perl to chop off the first N bytes?
> > 
> > For example, a file many be named 00001\ 00002xyz\?00003=Test.php.
> > What's the most logical way to perl this file to "Test.php?
> 
> Perl:
>   http://perlmonks.org/index.pl?node_id=303814
>   http://perlmonks.org/index.pl?node_id=277174
> 

	I've just signed aboard as a novice perlmonk...

	gary


-- 
   Gary Kline     kline at thought.org   www.thought.org     Public service Unix



More information about the freebsd-questions mailing list