On Mar 1, 3:58 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
>
> MHO is that you'd better learn linux (well... Unix) tools. Reinventing
> the SquareWheel(tm) is usually not a good idea.
I agree. It's just a matter of experience and learning when to use
Unix tools and when to use Python.
The
BartlebyScrivener a écrit :
> I recently moved from XP to Linux, but would like to use Python
> whenever possible.
>
> line from bash script:
>
> find ~/Mail -xdev -type f \( -mtime 0 -or -mtime 1 \) -exec cp -aPvu
> "{}" /backup-dest \;
>
> What modules would I use to accomplish this in Python?
> You can probably replicate that using the modules os and shutil.
Thank you both for the quick response.
rd
--
http://mail.python.org/mailman/listinfo/python-list
On 1 Mar 2007 12:14:43 -0800, BartlebyScrivener <[EMAIL PROTECTED]> wrote:
> I recently moved from XP to Linux, but would like to use Python
> whenever possible.
>
> line from bash script:
>
> find ~/Mail -xdev -type f \( -mtime 0 -or -mtime 1 \) -exec cp -aPvu
> "{}" /backup-dest \;
>
> What modul
I recently moved from XP to Linux, but would like to use Python
whenever possible.
line from bash script:
find ~/Mail -xdev -type f \( -mtime 0 -or -mtime 1 \) -exec cp -aPvu
"{}" /backup-dest \;
What modules would I use to accomplish this in Python? Or any other
Python tricks to copy or backup