ftp - how to preserve file modification time with LFTP -
i wrote script sync several servers @ once. 1 of problem cannot lftp preserve initial file modification time. basically, upload files while changed.
do know how force lftp preserve file modification time when downloading or uploading?
thanks help.
korchkidu
on following page
http://www.bouthors.fr/wiki/doku.php?id=en:linux:synchro_lftp
the authors state:
when uploading, not possible set date/time on files uploaded, that's why –>ignore-time needed.
so if use flag combination --only-newer , --ignore-time can achieve decent backup properties, in such way files differ in size replaced. of course doesn't if need rely on time-synchronization if perform regular backup of data, it'll job.
Comments
Post a Comment