copying files through Python

James Matthews nytrokiss at gmail.com
Fri Feb 15 09:16:13 EST 2008


Basically copying a file is reading a character or string from one file and
writing it to the other.

On Fri, Feb 15, 2008 at 3:06 PM, petercable at gmail.com <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>
>
> Pete
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
http://search.goldwatches.com/?Search=Movado+Watches
http://www.jewelerslounge.com
http://www.goldwatches.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080215/1dc5857d/attachment-0001.html>


More information about the Python-list mailing list