help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: whitespace in filenames


From: Dave Korn
Subject: RE: whitespace in filenames
Date: Thu, 25 Sep 2008 21:17:32 +0100

Patrick Horgan wrote on 25 September 2008 21:02:

> Ted Zlatanov wrote:
>> perl -MFile::Find -e'find(sub { return unless m/\s/; $new = $_; $new
>> =~s/\s+/-/g; rename $_ => $new }, @ARGV)' DIR1 DIR2 ... 
>> 
> I'm waiting for the python version;)

import os
  os.system ("perl -MFile::Find -e ...... DIR1 DIR2")


  ;-)

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....





reply via email to

[Prev in Thread] Current Thread [Next in Thread]