Comments on: How to Use the Linux rsync Command to Streamline Remote File Synchronization https://www.hostinger.my/tutorials/how-to-use-rsync Tue, 06 Feb 2024 15:50:13 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: VakarÄ— https://www.hostinger.my/tutorials/how-to-use-rsync#comment-266027 Tue, 18 Jan 2022 15:37:39 +0000 https://www.hostinger.com/tutorials/?p=15520#comment-266027 In reply to Jessica.

Hi Jessica, great question! If you use ~/Desktop/Original, the command will copy the folder with all of the files inside it, so your destination path for the files inside of Original folder (after the sync) would be: ~/tmp/Original/files_you_synced. While if you were using ~/Desktop/Original/, then the Original folder itself wouldn’t be copied, only the files inside of it, so the destination path would be: ~/tmp/files_you_synced.
Hope this helps!

]]>
By: Jessica https://www.hostinger.my/tutorials/how-to-use-rsync#comment-264834 Thu, 13 Jan 2022 15:51:23 +0000 https://www.hostinger.com/tutorials/?p=15520#comment-264834 rsync -az ~/Desktop/Original edward@192.168.22.90:~/tmp/

why not ‘~/Desktop/Original/’ but ‘~/Desktop/Original’?? The above command means sync all files in the remote server to local folder according to your explanation of “rsync -av –dry-run original/ duplicate/”.

Thanks!

]]>