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

Поділитися
Вставка
  • Опубліковано 8 вер 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

  • @Sawta
    @Sawta 9 днів тому

    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.

  • @ColdFuse96
    @ColdFuse96 Рік тому +2

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

  • @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

  • @WOMrecords
    @WOMrecords Місяць тому

    Thanks a lot for the help! 🙏

  • @blackfaithdoom9018
    @blackfaithdoom9018 Рік тому

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

  • @MarkBTomlinson
    @MarkBTomlinson Рік тому

    Very nice explanation and presentation, Thanks Tony!

  • @leovanvelzen6454
    @leovanvelzen6454 9 місяців тому

    Life saver ! works well for my case

  • @optimusdebugger9638
    @optimusdebugger9638 2 роки тому +1

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

  • @nicedev8189
    @nicedev8189 Рік тому

    Amazing explanation thank you!

  • @asdflkjasdfasdlfkj
    @asdflkjasdfasdlfkj 2 роки тому

    Thanks for sharing, Appreciated 💖

  • @jclockard
    @jclockard Місяць тому

    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?

  • @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

  • @FreezingFroggie
    @FreezingFroggie Місяць тому

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

  • @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

  • @SejuaniMedio
    @SejuaniMedio 2 роки тому

    Nice one bro

  • @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..

  • @LinuxUndercover
    @LinuxUndercover Рік тому

    Great!!!

  • @svenwindpassinger2170
    @svenwindpassinger2170 10 місяців тому

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

  • @anmac6910
    @anmac6910 Рік тому

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

  • @gatoloco3105
    @gatoloco3105 2 роки тому

    Quality video

  • @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?

  • @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.

  • @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

  • @mostafabarakat6609
    @mostafabarakat6609 2 роки тому

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

  • @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.

  • @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 Рік тому +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.