Can Rsync be used to copy files in a ntfs partition to another ntfs partition?












2















I bought a new hard disk and wanted to copy all files in a ntfs partition to another ntfs partition. These files are pdf files and bak files used both by win7 and ubuntu.



Can Rsync be used to sync files in a ntfs partition to another ntfs partition?



Thanks










share|improve this question

























  • What exactly do you mean by "sync"?

    – Takkat
    Aug 3 '13 at 5:42











  • If you mount both source and destination NTFS pertitions on your Ubuntu machine, I doubt that rsync will care about the underlying filesystems. Have you tried it and failed?

    – Marios Zindilis
    Aug 3 '13 at 5:54
















2















I bought a new hard disk and wanted to copy all files in a ntfs partition to another ntfs partition. These files are pdf files and bak files used both by win7 and ubuntu.



Can Rsync be used to sync files in a ntfs partition to another ntfs partition?



Thanks










share|improve this question

























  • What exactly do you mean by "sync"?

    – Takkat
    Aug 3 '13 at 5:42











  • If you mount both source and destination NTFS pertitions on your Ubuntu machine, I doubt that rsync will care about the underlying filesystems. Have you tried it and failed?

    – Marios Zindilis
    Aug 3 '13 at 5:54














2












2








2








I bought a new hard disk and wanted to copy all files in a ntfs partition to another ntfs partition. These files are pdf files and bak files used both by win7 and ubuntu.



Can Rsync be used to sync files in a ntfs partition to another ntfs partition?



Thanks










share|improve this question
















I bought a new hard disk and wanted to copy all files in a ntfs partition to another ntfs partition. These files are pdf files and bak files used both by win7 and ubuntu.



Can Rsync be used to sync files in a ntfs partition to another ntfs partition?



Thanks







ntfs rsync






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 3 '13 at 7:28







waterloo2005

















asked Aug 3 '13 at 4:37









waterloo2005waterloo2005

88782040




88782040













  • What exactly do you mean by "sync"?

    – Takkat
    Aug 3 '13 at 5:42











  • If you mount both source and destination NTFS pertitions on your Ubuntu machine, I doubt that rsync will care about the underlying filesystems. Have you tried it and failed?

    – Marios Zindilis
    Aug 3 '13 at 5:54



















  • What exactly do you mean by "sync"?

    – Takkat
    Aug 3 '13 at 5:42











  • If you mount both source and destination NTFS pertitions on your Ubuntu machine, I doubt that rsync will care about the underlying filesystems. Have you tried it and failed?

    – Marios Zindilis
    Aug 3 '13 at 5:54

















What exactly do you mean by "sync"?

– Takkat
Aug 3 '13 at 5:42





What exactly do you mean by "sync"?

– Takkat
Aug 3 '13 at 5:42













If you mount both source and destination NTFS pertitions on your Ubuntu machine, I doubt that rsync will care about the underlying filesystems. Have you tried it and failed?

– Marios Zindilis
Aug 3 '13 at 5:54





If you mount both source and destination NTFS pertitions on your Ubuntu machine, I doubt that rsync will care about the underlying filesystems. Have you tried it and failed?

– Marios Zindilis
Aug 3 '13 at 5:54










3 Answers
3






active

oldest

votes


















0














rsync is originally unix utility to sync source and destination. Now rsync is even ported to windows as well. You may need cygwin or mingw on windows machine for the same.
Only condition is that both operating system should see each other's filesystem and ssh should be enabled both side.


rsync -avz -e ssh /cygwin/c/song.mp3 root@192.168.56.101:/data






share|improve this answer































    0














    You can install rsync in cygwin on Windows and do the data copy. Just like you are in a *NIX terminal session.



    The path naming is a bit different.



    For example, if you want to copy all data from partition E: to F: => rsync -av --progress --stats /cygdrive/e /cygdrive/f



    BTW: Not sure if rsync for cygwin is capable of keeping all the NTFS properties/attributes. Most likely yes. But it loese attributes, permissions when copying from NTFS -> *NIX file systems.






    share|improve this answer































      0














      You can also do the sync in Ubuntu. You do not need specific options. Just use the -a (or --archive) option like you would do for a mirror copy from linux file systems to linux file systems.






      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/3.0/"u003ecc by-sa 3.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%2f328095%2fcan-rsync-be-used-to-copy-files-in-a-ntfs-partition-to-another-ntfs-partition%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        0














        rsync is originally unix utility to sync source and destination. Now rsync is even ported to windows as well. You may need cygwin or mingw on windows machine for the same.
        Only condition is that both operating system should see each other's filesystem and ssh should be enabled both side.


        rsync -avz -e ssh /cygwin/c/song.mp3 root@192.168.56.101:/data






        share|improve this answer




























          0














          rsync is originally unix utility to sync source and destination. Now rsync is even ported to windows as well. You may need cygwin or mingw on windows machine for the same.
          Only condition is that both operating system should see each other's filesystem and ssh should be enabled both side.


          rsync -avz -e ssh /cygwin/c/song.mp3 root@192.168.56.101:/data






          share|improve this answer


























            0












            0








            0







            rsync is originally unix utility to sync source and destination. Now rsync is even ported to windows as well. You may need cygwin or mingw on windows machine for the same.
            Only condition is that both operating system should see each other's filesystem and ssh should be enabled both side.


            rsync -avz -e ssh /cygwin/c/song.mp3 root@192.168.56.101:/data






            share|improve this answer













            rsync is originally unix utility to sync source and destination. Now rsync is even ported to windows as well. You may need cygwin or mingw on windows machine for the same.
            Only condition is that both operating system should see each other's filesystem and ssh should be enabled both side.


            rsync -avz -e ssh /cygwin/c/song.mp3 root@192.168.56.101:/data







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 3 '13 at 6:29









            NitinNitin

            562




            562

























                0














                You can install rsync in cygwin on Windows and do the data copy. Just like you are in a *NIX terminal session.



                The path naming is a bit different.



                For example, if you want to copy all data from partition E: to F: => rsync -av --progress --stats /cygdrive/e /cygdrive/f



                BTW: Not sure if rsync for cygwin is capable of keeping all the NTFS properties/attributes. Most likely yes. But it loese attributes, permissions when copying from NTFS -> *NIX file systems.






                share|improve this answer




























                  0














                  You can install rsync in cygwin on Windows and do the data copy. Just like you are in a *NIX terminal session.



                  The path naming is a bit different.



                  For example, if you want to copy all data from partition E: to F: => rsync -av --progress --stats /cygdrive/e /cygdrive/f



                  BTW: Not sure if rsync for cygwin is capable of keeping all the NTFS properties/attributes. Most likely yes. But it loese attributes, permissions when copying from NTFS -> *NIX file systems.






                  share|improve this answer


























                    0












                    0








                    0







                    You can install rsync in cygwin on Windows and do the data copy. Just like you are in a *NIX terminal session.



                    The path naming is a bit different.



                    For example, if you want to copy all data from partition E: to F: => rsync -av --progress --stats /cygdrive/e /cygdrive/f



                    BTW: Not sure if rsync for cygwin is capable of keeping all the NTFS properties/attributes. Most likely yes. But it loese attributes, permissions when copying from NTFS -> *NIX file systems.






                    share|improve this answer













                    You can install rsync in cygwin on Windows and do the data copy. Just like you are in a *NIX terminal session.



                    The path naming is a bit different.



                    For example, if you want to copy all data from partition E: to F: => rsync -av --progress --stats /cygdrive/e /cygdrive/f



                    BTW: Not sure if rsync for cygwin is capable of keeping all the NTFS properties/attributes. Most likely yes. But it loese attributes, permissions when copying from NTFS -> *NIX file systems.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 5 '13 at 23:17









                    Terry WangTerry Wang

                    6,33932224




                    6,33932224























                        0














                        You can also do the sync in Ubuntu. You do not need specific options. Just use the -a (or --archive) option like you would do for a mirror copy from linux file systems to linux file systems.






                        share|improve this answer




























                          0














                          You can also do the sync in Ubuntu. You do not need specific options. Just use the -a (or --archive) option like you would do for a mirror copy from linux file systems to linux file systems.






                          share|improve this answer


























                            0












                            0








                            0







                            You can also do the sync in Ubuntu. You do not need specific options. Just use the -a (or --archive) option like you would do for a mirror copy from linux file systems to linux file systems.






                            share|improve this answer













                            You can also do the sync in Ubuntu. You do not need specific options. Just use the -a (or --archive) option like you would do for a mirror copy from linux file systems to linux file systems.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Aug 31 '18 at 8:45









                            vanadiumvanadium

                            5,50011229




                            5,50011229






























                                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%2f328095%2fcan-rsync-be-used-to-copy-files-in-a-ntfs-partition-to-another-ntfs-partition%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

                                How to change which sound is reproduced for terminal bell?

                                Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                                Can I use Tabulator js library in my java Spring + Thymeleaf project?