Syncing multiple folders with rsyncHow to exclude multiple directories with rsync?can't get rsync with exlude to work!Backup your home directory with rsync and skip useless foldersrsync without deleting between 2 foldersrsync --exclude option for copying folders from serverrsync + chmod multiple filesRsync not creating subfolders automatically within same origin and destination paths on different servers

How to say No to idea given by team member, when I know from my experience that it is going to fail?

Reimbursed more than my travel expenses for interview

Conversion of mass into energy with 100% efficiency

Toy Vector Library - Magnitude & Unit Vector Functions

How am I ever going to be able to "vet" 120,000+ lines of Composer PHP code not written by me?

Match multiple(3+) occurrences of each character

How can I line up an equation with the equals sign from another equation?

How to answer my 5 year old why I can tell her what she has to do and why she can't tell me

How do I take a photo so the moon doesn't have bright "rays"?

Do i really need a $1500 rig for crisp sharp photos?

How to do code reviews to people whose programming skills are weak?

Key takeaways in German in a presentation

Can you marry a girl in Stardew Valley if you are a girl?

What is the mathematical formula for proficiency bonus vs level/CR?

Biggest Irreducible Hello World

What is a logic gate?

Is it possible for nature to create bubble wrap?

How do you get to this trap position?

How to find maximum amperage need for fuse

Is there a Scoville scale for coldness?

Can a human colony survive on a 'hot' world?

"Dog" can mean "something of an inferior quality". What animals do we use, if any, to describe the opposite?

Is Nessa or Vanessa a Catholic name?

How do I send a Ctrl+Alt+Delete when connected from the Screen Sharing app to a Windows computer?



Syncing multiple folders with rsync


How to exclude multiple directories with rsync?can't get rsync with exlude to work!Backup your home directory with rsync and skip useless foldersrsync without deleting between 2 foldersrsync --exclude option for copying folders from serverrsync + chmod multiple filesRsync not creating subfolders automatically within same origin and destination paths on different servers






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2


















In the past I used to keep two folders on my laptop synced with their respective equivalents on an external hard disk. I used Grsync and ran it twice whenever I wanted to sync.
Now I'm using a more complex distribution of my files and would like to sync more than two folders with their respective external equivalents.



In other words, I want to to sync (one way) say:



/home/user/Folder1 with /extHDD/Folder1
/home/user/Folder2 with /extHDD/Folder2
etc


Instead of running grsync multiple times, is there a simpler way to



  1. Specify a series of source and destination directories

  2. Have the possibility to check what would be changed before actually syncing.

I'm open to CLI or GUI methods.










share|improve this question































    2


















    In the past I used to keep two folders on my laptop synced with their respective equivalents on an external hard disk. I used Grsync and ran it twice whenever I wanted to sync.
    Now I'm using a more complex distribution of my files and would like to sync more than two folders with their respective external equivalents.



    In other words, I want to to sync (one way) say:



    /home/user/Folder1 with /extHDD/Folder1
    /home/user/Folder2 with /extHDD/Folder2
    etc


    Instead of running grsync multiple times, is there a simpler way to



    1. Specify a series of source and destination directories

    2. Have the possibility to check what would be changed before actually syncing.

    I'm open to CLI or GUI methods.










    share|improve this question



























      2













      2









      2








      In the past I used to keep two folders on my laptop synced with their respective equivalents on an external hard disk. I used Grsync and ran it twice whenever I wanted to sync.
      Now I'm using a more complex distribution of my files and would like to sync more than two folders with their respective external equivalents.



      In other words, I want to to sync (one way) say:



      /home/user/Folder1 with /extHDD/Folder1
      /home/user/Folder2 with /extHDD/Folder2
      etc


      Instead of running grsync multiple times, is there a simpler way to



      1. Specify a series of source and destination directories

      2. Have the possibility to check what would be changed before actually syncing.

      I'm open to CLI or GUI methods.










      share|improve this question














      In the past I used to keep two folders on my laptop synced with their respective equivalents on an external hard disk. I used Grsync and ran it twice whenever I wanted to sync.
      Now I'm using a more complex distribution of my files and would like to sync more than two folders with their respective external equivalents.



      In other words, I want to to sync (one way) say:



      /home/user/Folder1 with /extHDD/Folder1
      /home/user/Folder2 with /extHDD/Folder2
      etc


      Instead of running grsync multiple times, is there a simpler way to



      1. Specify a series of source and destination directories

      2. Have the possibility to check what would be changed before actually syncing.

      I'm open to CLI or GUI methods.







      19.04 rsync






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 30 at 8:21









      To DoTo Do

      11.4k9 gold badges52 silver badges94 bronze badges




      11.4k9 gold badges52 silver badges94 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0



















          Rsync (more) (examples) itself is a viable option, which



          1. allows you to specify a series of source and destination directories, and

          2. due to its --dry-run option which shows you what will happen without actually moving files (as described in point 9 here).





          share|improve this answer


























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177612%2fsyncing-multiple-folders-with-rsync%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown


























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0



















            Rsync (more) (examples) itself is a viable option, which



            1. allows you to specify a series of source and destination directories, and

            2. due to its --dry-run option which shows you what will happen without actually moving files (as described in point 9 here).





            share|improve this answer





























              0



















              Rsync (more) (examples) itself is a viable option, which



              1. allows you to specify a series of source and destination directories, and

              2. due to its --dry-run option which shows you what will happen without actually moving files (as described in point 9 here).





              share|improve this answer



























                0















                0











                0









                Rsync (more) (examples) itself is a viable option, which



                1. allows you to specify a series of source and destination directories, and

                2. due to its --dry-run option which shows you what will happen without actually moving files (as described in point 9 here).





                share|improve this answer














                Rsync (more) (examples) itself is a viable option, which



                1. allows you to specify a series of source and destination directories, and

                2. due to its --dry-run option which shows you what will happen without actually moving files (as described in point 9 here).






                share|improve this answer













                share|improve this answer




                share|improve this answer










                answered Sep 30 at 16:42









                K7AAYK7AAY

                8,0925 gold badges23 silver badges52 bronze badges




                8,0925 gold badges23 silver badges52 bronze badges































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177612%2fsyncing-multiple-folders-with-rsync%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown









                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?