[Novalug] perl help | filename spaces
lists at timber-wolf.org
Fri Mar 19 13:30:12 EDT 2010
nevermind, I wanted to say exactly what Peter said...
On Fri, Mar 19, 2010 at 1:28 PM, Julian Russell <lists at timber-wolf.org>wrote:
> can you do something like (I'm asking not saying):
> find [WHATEVER] -name '* *' -print0 | -pi.save
> On Wed, Mar 17, 2010 at 8:53 PM, Ken Kauffman <kkauffman at headfog.com>wrote:
>> So I want to run this one liner, but it doesn't handle filename and
>> directory spaces. Does someone with more experience in perl/scripting have
>> a proposed solution they would be willing to share with me?
>> perl -e "s/news.html/news\//g;" -pi.save $(find . -type f)
>> Novalug mailing list
>> Novalug at calypso.tux.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Novalug