[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fs package question - cp -p semantics when copying files?

> Is there an (unstated) reason why you're using Python and not a system
> tool such as rsync?

It's part of a larger application which needs to copy files from a number
of locations, not all of which are filesystems on local or remote hosts
(think zip archives, s3 buckets, tar files, etc). In that application, I am
using the fs package (PyFilesystem). Since it collects files from a number
of locations (some static, some updated monthly, some daily), it would be
handy if I could preserve file timestamps for post mortem debugging.