How to Use rsync to Reliably Copy Files Fast (many examples)

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • Learn how to rsync in this tutorial with examples of local and remote copy. With rsync, you can sync entire directories, automatically delete files, and show the transfer progress. There is even the option to compress files for a fast copy. The rsync command is available on the latest versions of Mac, Windows, and Linux.
    More videos about useful commands:
    - scp: • How To Use The scp Com...
    - curl: • How To Use curl (with ...
    - wget: • How To Use wget To Dow...
    - ftp: • How to use the FTP Com...
    -sftp: • How to use SFTP Comman...
    Find more at tonyteaches.tech
    Check out my vlog channel ‪@TonyFlorida‬
    #rsync

ความคิดเห็น • 58

  • @mcylinder
    @mcylinder ปีที่แล้ว +10

    I just appreciated that the test folders were titled "like" & "subscribe." Nicely played...

    • @nikDaws
      @nikDaws 6 หลายเดือนก่อน +1

      It was so smooth, I just liked and subscribed

  • @k-c
    @k-c ปีที่แล้ว +11

    I've heard of rsync for many years but always felt it was more complicated than this. Thanks a lot. Tutorial is very easy to follow.

  • @FABESTAH
    @FABESTAH ปีที่แล้ว +7

    It would be extremely helpful if you could add sections to your videos. This way, viewers could easily navigate to the specific section where you discuss the Linux command flag they're seeking additional information about.
    Besides that, it was indeed an interesting and well-structured video. You've definitely earned my subscription ❤:)

  • @cur1ousss2047
    @cur1ousss2047 ปีที่แล้ว +10

    Best Fooking RSYNC Tutorial out there , nothing on youtube beats this. Detailed and explains all the useCases , loved it Thanks a lot

  • @ColdFuse96
    @ColdFuse96 ปีที่แล้ว +2

    Thank you so much for including so many examples! This video helped me out a lot!!!

  • @Sawta
    @Sawta 13 วันที่ผ่านมา

    Great video! I do think it would have been good to mention using --info=progress2 (with --partial) to reduce the high number of progress output in terminal, but I also understand that would make the rsync command considerably longer.

  • @ar_xiv
    @ar_xiv 9 หลายเดือนก่อน

    I like how you put this together, perfect for following along on my machine. Thanks!

  • @yipkellyfamily2856
    @yipkellyfamily2856 10 หลายเดือนก่อน

    Thank you so much for this super clear walkthrough. It helped tremendously

    • @TonyTeachesTech
      @TonyTeachesTech  10 หลายเดือนก่อน

      Glad to hear it! thanks for watching

  • @WOMrecords
    @WOMrecords หลายเดือนก่อน

    Thanks a lot for the help! 🙏

  • @MarkBTomlinson
    @MarkBTomlinson ปีที่แล้ว

    Very nice explanation and presentation, Thanks Tony!

  • @blackfaithdoom9018
    @blackfaithdoom9018 ปีที่แล้ว

    Its always usefull to know on which OS and which releases exactly the demonstations or tutorials are done ...

  • @leovanvelzen6454
    @leovanvelzen6454 9 หลายเดือนก่อน

    Life saver ! works well for my case

  • @optimusdebugger9638
    @optimusdebugger9638 2 ปีที่แล้ว +1

    let's appreciate the like and subscribe folders! Well played!

  • @asdflkjasdfasdlfkj
    @asdflkjasdfasdlfkj 2 ปีที่แล้ว

    Thanks for sharing, Appreciated 💖

  • @nicedev8189
    @nicedev8189 ปีที่แล้ว

    Amazing explanation thank you!

  • @jclockard
    @jclockard 2 หลายเดือนก่อน

    Thank you for this. Should someone move a main folder with lots of subfolders at once or should someone move all the subfolders individually? I have 1TB of data I want to transfer. All in one folder, with about 100 subfolders inside of that one. Should I do the one folder or go individual subfolder one at a time?

  • @techgalaxy100
    @techgalaxy100 ปีที่แล้ว

    Awesome video,. Can you make a video on incremental backup using Rsync on Windows 10?

  • @grodius
    @grodius 11 หลายเดือนก่อน

    well this was a pretty good video

  • @FreezingFroggie
    @FreezingFroggie หลายเดือนก่อน

    What flag do I have to use if I want to backup directoryA to directoryB. But don't want to copy files which already exist in "B" with the same date? Only copy if timestamp is newer to avoid file corruption by bitrot or something? Maybe rsync -avP --update?

  • @FreezingFroggie
    @FreezingFroggie หลายเดือนก่อน

    Can partial flag corrupt files? Let's say you're syncing external drives and drive1 auto dismounts or something.

  • @Simpuhl
    @Simpuhl 6 หลายเดือนก่อน

    A friend gave me their authorized key, can you tell me which video I can watch to download his files to my pc or my synology nas

  • @SejuaniMedio
    @SejuaniMedio 2 ปีที่แล้ว

    Nice one bro

  • @ywueeee
    @ywueeee ปีที่แล้ว

    can you make this but to transfer files from nextcloud windows to server to mac, the official clients are very slow, wonder if there's a faster way with rsync

  • @sagargandhi8609
    @sagargandhi8609 ปีที่แล้ว

    Hi, using Rsync the files are getting transferred in the order from the oldest to the newest, is it possible to change the order in which they are being transferred?

  • @LinuxUndercover
    @LinuxUndercover ปีที่แล้ว

    Great!!!

  • @anmac6910
    @anmac6910 ปีที่แล้ว

    how do i use file lists if i want to copy only specific files among a 1000 files?

  • @WarriorArtsIndonesia
    @WarriorArtsIndonesia ปีที่แล้ว

    Great presentation but frustratingly I can't even get past first command without this:
    rsync: [sender] change_dir "/one" failed: No such file or directory (2)
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1356) [sender=3.2.7]
    For the life of me I have no idea why. Updated to V3.2.7 on Ventura 13.3.1. I am stumped at the first hurdle. Any ideas, thanks?

    • @motoryzen
      @motoryzen 9 หลายเดือนก่อน

      If you haven't figured it out yet, all ghood vibes meant, You may need to put a single apostrophe at the beginning and at the end of your destination file path or Quotation mark at the beginning in end
      This from my experience has been required when trenchering any data using sync from the main drive tp another

  • @ispiretechnologies
    @ispiretechnologies 2 ปีที่แล้ว

    Hie Tony, I deployed a django app to app engine, it ran well, and i can view my site, the Challenge is, the app is a backend site so when i try to login, it says server error because according to my research thus far, App engine Lock the SQlite3 db that comes with django to read only. I wanted to change the db so i tried to setup the MySql db, when i do the deployment the problem comming is "Unknown db". May i know how you setup your db for your apps you deployed. I tried to run away from app engine to Google cloud Virtual Machine, i Was hit by yet another problem. I deployed the app it does login in properly but i was only running the server on SSH Terminal just as thought on local machine, the tutorial i was following never clarified how i can connect to my domain and i tired to setup the static ip address yet still to no avail. I feel like there are just pieces of Google cloud deployement tutorials on the internet but which doesnt give out the entire process. The Google documentation seems to be a little tricky to follow as well. Thanks for your assistance and looking forward to hearing from you.

  • @gatoloco3105
    @gatoloco3105 2 ปีที่แล้ว

    Quality video

  • @markbennett1237
    @markbennett1237 10 หลายเดือนก่อน

    When you use the "z" option, do the files remain compressed at the destination?

    • @MindDrip
      @MindDrip 7 หลายเดือนก่อน

      yeah I don't get what the z does, it compresses only for the transfer? seems like it just wastes time

  • @svenwindpassinger2170
    @svenwindpassinger2170 11 หลายเดือนก่อน

    How rsyc ssh with Fingerprint (SHA256:...)???

  • @dashwoo706
    @dashwoo706 2 ปีที่แล้ว

    Is Rsync already built in the operating system? I did not see you install the Rsync Application.

    • @varma8669
      @varma8669 2 ปีที่แล้ว +1

      Yes. MacOS and a many linux distros usually come with rsync installed.

  • @azrael3396
    @azrael3396 2 ปีที่แล้ว

    program na drop down nu wNice tutorialch lists all the different app softs. For so reason it makes the default "Agressive TE" make sure

  • @sp3ct3r71
    @sp3ct3r71 ปีที่แล้ว

    totally addicted..

  • @mostafabarakat6609
    @mostafabarakat6609 2 ปีที่แล้ว

    EXACTLYYY im learning tNice tutorials tNice tutorialng when im stressed out becuz of exams xD

  • @marcerum6963
    @marcerum6963 2 ปีที่แล้ว

    TNice tutorials is exactly about everytNice tutorialng that you'll ever need to do to make soft on soft soft

  • @vmas4581
    @vmas4581 2 ปีที่แล้ว +1

    --dry-run

    • @k-c
      @k-c ปีที่แล้ว

      Underrated option

  • @naungwineain
    @naungwineain 2 ปีที่แล้ว

    I'm pretty sure I'm not gay, but tNice tutorials man with Nice tutorials damn handso voice is sure ly about to change that lmao

  • @eugenekoiner
    @eugenekoiner 4 หลายเดือนก่อน

    trying to use it between two windows laptops with wsl and always getiing this:
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(231) [sender=3.2.7]

  • @Painbow9553
    @Painbow9553 ปีที่แล้ว

    Everything was fine until you told me to like and subscribe.™

    • @TonyTeachesTech
      @TonyTeachesTech  ปีที่แล้ว

      Lol did I say that?

    • @Painbow9553
      @Painbow9553 ปีที่แล้ว

      @@TonyTeachesTech Your examples made my face turn BEAT RED. I don't ever want to see those dumb words on the internet. This is the INTERNET. Show some RESPECT for the spirit of this place.
      Man I want a button to call each and every TURD on the internet. I'd be doing it 24/7. Thanks a lot, cell phones. THANKS.