copying files through Python

Jeff Schwab jeff at schwabcenter.com
Fri Feb 15 11:29:02 EST 2008


petercable at gmail.com wrote:
> On Feb 13, 10:50 pm, Lalit <lalitkris... at gmail.com> wrote:
> 
>> I need to write a program which would transfer files under one folder
>> structure (there are sub folders) to single folder.
> 
> <troll>
> 
> find /fromdir -exec mv {} /todir \; -print
> 
> </troll>

-type f



More information about the Python-list mailing list