[ubuntu-it] comando rsync

lccflc lccflc a email.it
Ven 2 Ott 2009 20:14:01 BST


mauro ha scritto:
> Io ho sempre usato grsync (la gui di rsync)...[cut]
>
> Lo installi: sudo apt-get install grsync, lo trovi poi nel menu Internet
> e ci impari quello che ti serve poi per comandare rsync da riga di
> comando o da script.
>
> mauro

Scusa se torno ma a me dà sempre errore, anche in simulazione, ritengo a 
causa dei permessi.
Questo è l'out della simulazione:
*** Avvio del comando RSYNC (modalita' simulazione):
rsync -r -n -t -p -o -v --progress -D --existing -z 
/home/felix/Documenti/ /media/disk/Linux_2/Documenti_G/

sending incremental file list
./

sent 258771 bytes  received 922 bytes  519386.00 bytes/sec
total size is 3431325345  speedup is 13213.01 (DRY RUN)




Questo è invece l'out della esecuzione:
*** Avvio del comando RSYNC:
rsync -r -t -p -o -v --progress -D --existing -z /home/felix/Documenti/ 
/media/disk/Linux_2/Documenti_G/

sending incremental file list
rsync: failed to set times on "/media/disk/Linux_2/Documenti_G/.": 
Operation not permitted (1)
./

sent 258771 bytes  received 922 bytes  173128.67 bytes/sec
total size is 3431325345  speedup is 13213.01
rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1058) [sender=3.0.5]

E poi nell'ultima finestra:
rsync: failed to set times on "/media/disk/Linux_2/Documenti_G/.": 
Operation not permitted (1)
rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1058) [sender=3.0.5]


Ritengo che vada eseguito da amministratore ma non mi è chiaro come 
avviarlo con i permessi di root... forse da terminale con "sudo grsync"?
Ma allora a che serve il collegamento su ->Applicazioni ->Sistema?

Grazie,
Felice



Maggiori informazioni sulla lista ubuntu-it