PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > Is there a way to simulate/preview (but not really do) rsync ?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

Is there a way to simulate/preview (but not really do) rsync ?

Réponse
 
LinkBack Outils de la discussion
Vieux 05/05/2008, 07h33   #1
Matthew Lincoln
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Is there a way to simulate/preview (but not really do) rsync ?

As a first step in developing a rsync procedure I would like just to simulate the
coded rsync command. In other words I want to preview the transferred files at first.

How can I do such a simulated run?

Matthew
  Réponse avec citation
Vieux 05/05/2008, 11h14   #2
Robert Heller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there a way to simulate/preview (but not really do) rsync ?

At 05 May 2008 06:33:33 GMT kmlincoln100@hotmail.com (Matthew Lincoln) wrote:

>
> As a first step in developing a rsync procedure I would like just to simulate the
> coded rsync command. In other words I want to preview the transferred files at first.
>
> How can I do such a simulated run?


From 'man rsync':

-n, --dry-run
This makes rsync perform a trial run that doesn't make any
changes (and produces mostly the same output as a real run).
It is most commonly used in combination with the -v, --verbose
and/or -i, --itemize-changes options to see what an rsync com-
mand is going to do before one actually runs it.

The output of --itemize-changes is supposed to be exactly the
same on a dry run and a subsequent real run (barring inten-
tional trickery and system call failures); if it isn't, that's
a bug. Other output is the same to the extent practical, but
may differ in some areas. Notably, a dry run does not send the
actual data for file transfers, so --progress has no effect,
the 'bytes sent', 'bytes received', 'literal data', and
'matched data' statistics are too small, and the 'speedup'
value is equivalent to a run where no file transfers are
needed.



>
> Matthew
>


--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 17h33.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08594 seconds with 10 queries