timestamp on symlink

Martin Pool mbp at samba.org
Mon Jul 29 00:34:05 EST 2002


On 29 Jul 2002, Donovan Baarda <abo at minkirri.apana.org.au> wrote:
> This is because most of python's os.xxx methods de-reference symlinks. You
> get this error because 'nothere' doesn't exist. The correct way to get time
> info on symlinks is to use os.lstat(), which doesn't de-reference links.

I realize you can get the time that way (although not on all platforms),
but how do you set it?  As jw says, there is no lutime().

-- 
Martin




More information about the rsync mailing list