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? Or any other > Python tricks to copy or backup all files modified today?
MHO is that you'd better learn linux (well... Unix) tools. Reinventing the SquareWheel(tm) is usually not a good idea. -- http://mail.python.org/mailman/listinfo/python-list