[gull] Synchroniser des répertoire par ftp

Leopoldo Ghielmetti leopoldo.ghielmetti at a3.epfl.ch
Thu Jul 3 22:12:16 CEST 2008


Il giorno gio, 03/07/2008 alle 18.01 +0200, Erik Rossen ha scritto:
> On Thu, Jul 03, 2008 at 05:19:40PM +0200, Leopoldo Ghielmetti wrote:
> > Il giorno gio, 03/07/2008 alle 15.07 +0200, Erik Rossen ha scritto:
> > > T'es certain?  De "man rsync" je vois:
> > > 
> > > 	Normally rsync will skip any files that are already the same
> > > 	size and have the same modification time-stamp.
> > 
> > Oui effectivement c'est bien ce qu'il fait, mais le FS FAT stocke la
> > date avec une precision de 30 secondes, donc le timestamp n'est jamais
> > bon. :-(
> 
> Et encore to "man rsync":
> 
> 	--modify-window
> 		When  comparing  two  timestamps,  rsync treats the
> 		timestamps as being equal if they differ by no more than
> 		the modify-window value.  This is normally 0 (for an
> 		exact match), but you may find it useful to set this to
> 		a larger value in some situations.  In particular, when
> 		transferring to or from an MS Windows FAT filesystem
> 		(which represents times with a 2-second  resolution),
> 		--modify-window=1 is useful (allowing times to differ by
> 		up to 1 second).

Très intéressant, ce soir je vais dormir content car j'ai appris quelque
chose.
En effet je vais peut être pouvoir éviter d'attendre des heures quand je
dois synchroniser le player.
Je n'avais jamais remarqué cette option. Il faut dire que ce n'est pas
les options qui manquent à rsync.

> On dirait qu'ils ont pensé a tout...

On dirait.

Merci pour le tuyau.

ciao, Leo





More information about the gull mailing list