To sync two directories in a local computer, use the following rsync -vrupAogEh command.
# rsync -vrupAogEh /mnt/remote-fs/shares/ /srv/shares/
sending incremental file list
folders1/folders2/subfolder/subfolder1/subfolder2/namefileCASTELLANO.PDF
folders1/folders2/subfolder/subfolder1/subfolder2/namefileCATALAN.PDF
folders1/folders2/subfolder/subfolder1/subfolder2/namefileEUSKERA.PDF
folders1/folders2/subfolder/subfolder1/subfolder2/old/
folders1/folders2/subfolder/subfolder1/subfolder2/old/namefileCASTELLANO.PDF
folders1/folders2/subfolder/subfolder1/subfolder2/old/namefileCATALAN.pdf
folders1/folders2/subfolder/subfolder1/subfolder2/old/namefileEUSKERA.pdf
No hay comentarios:
Publicar un comentario