Date: Sun, 18 Sep 2005 04:57:35 -0400 From: Parv <parv@pair.com> To: Gary Kline <kline@tao.thought.org> Cc: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: Re: how to rename a file with "!", "?", and other strange chars? Message-ID: <20050918085735.GA31527@holestein.holy.cow> In-Reply-To: <20050917232747.GA76966@thought.org> References: <20050917232747.GA76966@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
in message <20050917232747.GA76966@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 Other: http://groups.google.com/groups?q=%22file+name%22+unusal+OR+weird+characters+group%3Acomp.unix.* http://groups.google.com/groups?q=rename+unusal+OR+weird+characters+group%3Acomp.unix.* - Parv --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050918085735.GA31527>