Download copy of file which updates on changeBest way to mount remote folderPrinting a file from local...

How to efficiently calculate prefix sum of frequencies of characters in a string?

Can a cyclic Amine form an Amide?

If 1. e4 c6 is considered as a sound defense for black, why is 1. c3 so rare?

What is the limiting factor for a CAN bus to exceed 1Mbps bandwidth?

Visa for volunteering in England

Is it cheaper to drop cargo than to land it?

CRT Oscilloscope - part of the plot is missing

How to get SEEK accessing converted ID via view

How did Arya get back her dagger from Sansa?

How to implement float hashing with approximate equality

How can I fairly adjudicate the effects of height differences on ranged attacks?

How did Arya manage to disguise herself?

Can I use 1000v rectifier diodes instead of 600v rectifier diodes?

Binary Numbers Magic Trick

Power LED from 3.3V Power Pin without Resistor

Is there a QGIS plugin that reclassify raster symbology based on current extent?

Historically, were women trained for obligatory wars? Or did they serve some other military function?

Was Hulk present at this event?

How to reply this mail from potential PhD professor?

How do you center multiple equations that have multiple steps?

Accidentally deleted the "/usr/share" folder

Applying a function to a nested list

How can I close a gap between my fence and my neighbor's that's on his side of the property line?

The barbers paradox first order logic formalization



Download copy of file which updates on change


Best way to mount remote folderPrinting a file from local computer using printer connected to remote serverSomething like a symbolically linked file, but with change details attached?Execute code on remote machine and copy the results backHow can one run a program installed in one machine from another machine?Moving files from folder to folder on a remote server using SSH without downloading those to local computerCan we merge binary files without any copy operation by handling filesystem?How to download remotely by sending URLparallel file copy using tee unexpectedly slowUnison: always use 'copyprog' for updatesHow do I change the file permission to be able to write over a file using Netbeans?






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







2















I am using my Raspberry Pi (Debian) and I store code on this server in which people have access to. My problem at the moment is, I can open the file using SSH and then compile and run the code on the Pi but this is very slow.



What I want to do: I want it so I can make changes of the file(s) on my computer and this updates with the files on the server and I can then compile the code on my machine AND I do not have to keep pushing the files back onto the file server.










share|improve this question































    2















    I am using my Raspberry Pi (Debian) and I store code on this server in which people have access to. My problem at the moment is, I can open the file using SSH and then compile and run the code on the Pi but this is very slow.



    What I want to do: I want it so I can make changes of the file(s) on my computer and this updates with the files on the server and I can then compile the code on my machine AND I do not have to keep pushing the files back onto the file server.










    share|improve this question



























      2












      2








      2








      I am using my Raspberry Pi (Debian) and I store code on this server in which people have access to. My problem at the moment is, I can open the file using SSH and then compile and run the code on the Pi but this is very slow.



      What I want to do: I want it so I can make changes of the file(s) on my computer and this updates with the files on the server and I can then compile the code on my machine AND I do not have to keep pushing the files back onto the file server.










      share|improve this question
















      I am using my Raspberry Pi (Debian) and I store code on this server in which people have access to. My problem at the moment is, I can open the file using SSH and then compile and run the code on the Pi but this is very slow.



      What I want to do: I want it so I can make changes of the file(s) on my computer and this updates with the files on the server and I can then compile the code on my machine AND I do not have to keep pushing the files back onto the file server.







      filesystems files remote






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 57 mins ago









      Rui F Ribeiro

      42.5k1485146




      42.5k1485146










      asked Jan 13 '13 at 12:37









      PhorcePhorce

      1501210




      1501210






















          2 Answers
          2






          active

          oldest

          votes


















          2














          In UNIX world more suitable solution is NFS. The control file is usually /etc/exports. Example line /mnt/export *(rw). You can mount share from client mount nfs-server:/mnt/export /mnt/local. For examine shared (also known as "exported") resources on nfs-server use showmount -e nfs-server






          share|improve this answer


























          • I am using NFS for the "TimeMachine" back-up, so I like the way you suggested. A question - Does this method require me to physically download the files on my laptop? I am using SSD's because I don't want to store anything on my laptop, only on my server. Thank you

            – Phorce
            Jan 13 '13 at 14:21











          • No. The file actually stores on nfs-share. There is no any local disk usage.

            – dchirikov
            Jan 13 '13 at 14:36











          • Thank you :) Can you recommend a tutorial that can explain how to do this fully? This is exactly what I need.

            – Phorce
            Jan 13 '13 at 14:42











          • I guess you should start from wiki and here is the quite authoritative source of nfs-related information.

            – dchirikov
            Jan 13 '13 at 15:10













          • afs is supposedly more robust.

            – Faheem Mitha
            Jan 13 '13 at 22:05



















          4














          There are multiple ways to accomplish this. You could setup a Samba server. This would allow multiple computers to see the same files without having to copy them back and forth.



          If you have just SSH access you might want to take a look at sshfuse.



          make mountpoint



          % mkdir blah


          mount remote directory through sshfs



          % sshfs root@somehost:/root blah


          see remote files, locally



          % ls blah/
          file1
          file2
          file3


          unmount when done



          % fusermount -u blah


          More info on sshfs is available here.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f61135%2fdownload-copy-of-file-which-updates-on-change%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            In UNIX world more suitable solution is NFS. The control file is usually /etc/exports. Example line /mnt/export *(rw). You can mount share from client mount nfs-server:/mnt/export /mnt/local. For examine shared (also known as "exported") resources on nfs-server use showmount -e nfs-server






            share|improve this answer


























            • I am using NFS for the "TimeMachine" back-up, so I like the way you suggested. A question - Does this method require me to physically download the files on my laptop? I am using SSD's because I don't want to store anything on my laptop, only on my server. Thank you

              – Phorce
              Jan 13 '13 at 14:21











            • No. The file actually stores on nfs-share. There is no any local disk usage.

              – dchirikov
              Jan 13 '13 at 14:36











            • Thank you :) Can you recommend a tutorial that can explain how to do this fully? This is exactly what I need.

              – Phorce
              Jan 13 '13 at 14:42











            • I guess you should start from wiki and here is the quite authoritative source of nfs-related information.

              – dchirikov
              Jan 13 '13 at 15:10













            • afs is supposedly more robust.

              – Faheem Mitha
              Jan 13 '13 at 22:05
















            2














            In UNIX world more suitable solution is NFS. The control file is usually /etc/exports. Example line /mnt/export *(rw). You can mount share from client mount nfs-server:/mnt/export /mnt/local. For examine shared (also known as "exported") resources on nfs-server use showmount -e nfs-server






            share|improve this answer


























            • I am using NFS for the "TimeMachine" back-up, so I like the way you suggested. A question - Does this method require me to physically download the files on my laptop? I am using SSD's because I don't want to store anything on my laptop, only on my server. Thank you

              – Phorce
              Jan 13 '13 at 14:21











            • No. The file actually stores on nfs-share. There is no any local disk usage.

              – dchirikov
              Jan 13 '13 at 14:36











            • Thank you :) Can you recommend a tutorial that can explain how to do this fully? This is exactly what I need.

              – Phorce
              Jan 13 '13 at 14:42











            • I guess you should start from wiki and here is the quite authoritative source of nfs-related information.

              – dchirikov
              Jan 13 '13 at 15:10













            • afs is supposedly more robust.

              – Faheem Mitha
              Jan 13 '13 at 22:05














            2












            2








            2







            In UNIX world more suitable solution is NFS. The control file is usually /etc/exports. Example line /mnt/export *(rw). You can mount share from client mount nfs-server:/mnt/export /mnt/local. For examine shared (also known as "exported") resources on nfs-server use showmount -e nfs-server






            share|improve this answer















            In UNIX world more suitable solution is NFS. The control file is usually /etc/exports. Example line /mnt/export *(rw). You can mount share from client mount nfs-server:/mnt/export /mnt/local. For examine shared (also known as "exported") resources on nfs-server use showmount -e nfs-server







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 13 '13 at 14:36

























            answered Jan 13 '13 at 14:13









            dchirikovdchirikov

            2,92811015




            2,92811015













            • I am using NFS for the "TimeMachine" back-up, so I like the way you suggested. A question - Does this method require me to physically download the files on my laptop? I am using SSD's because I don't want to store anything on my laptop, only on my server. Thank you

              – Phorce
              Jan 13 '13 at 14:21











            • No. The file actually stores on nfs-share. There is no any local disk usage.

              – dchirikov
              Jan 13 '13 at 14:36











            • Thank you :) Can you recommend a tutorial that can explain how to do this fully? This is exactly what I need.

              – Phorce
              Jan 13 '13 at 14:42











            • I guess you should start from wiki and here is the quite authoritative source of nfs-related information.

              – dchirikov
              Jan 13 '13 at 15:10













            • afs is supposedly more robust.

              – Faheem Mitha
              Jan 13 '13 at 22:05



















            • I am using NFS for the "TimeMachine" back-up, so I like the way you suggested. A question - Does this method require me to physically download the files on my laptop? I am using SSD's because I don't want to store anything on my laptop, only on my server. Thank you

              – Phorce
              Jan 13 '13 at 14:21











            • No. The file actually stores on nfs-share. There is no any local disk usage.

              – dchirikov
              Jan 13 '13 at 14:36











            • Thank you :) Can you recommend a tutorial that can explain how to do this fully? This is exactly what I need.

              – Phorce
              Jan 13 '13 at 14:42











            • I guess you should start from wiki and here is the quite authoritative source of nfs-related information.

              – dchirikov
              Jan 13 '13 at 15:10













            • afs is supposedly more robust.

              – Faheem Mitha
              Jan 13 '13 at 22:05

















            I am using NFS for the "TimeMachine" back-up, so I like the way you suggested. A question - Does this method require me to physically download the files on my laptop? I am using SSD's because I don't want to store anything on my laptop, only on my server. Thank you

            – Phorce
            Jan 13 '13 at 14:21





            I am using NFS for the "TimeMachine" back-up, so I like the way you suggested. A question - Does this method require me to physically download the files on my laptop? I am using SSD's because I don't want to store anything on my laptop, only on my server. Thank you

            – Phorce
            Jan 13 '13 at 14:21













            No. The file actually stores on nfs-share. There is no any local disk usage.

            – dchirikov
            Jan 13 '13 at 14:36





            No. The file actually stores on nfs-share. There is no any local disk usage.

            – dchirikov
            Jan 13 '13 at 14:36













            Thank you :) Can you recommend a tutorial that can explain how to do this fully? This is exactly what I need.

            – Phorce
            Jan 13 '13 at 14:42





            Thank you :) Can you recommend a tutorial that can explain how to do this fully? This is exactly what I need.

            – Phorce
            Jan 13 '13 at 14:42













            I guess you should start from wiki and here is the quite authoritative source of nfs-related information.

            – dchirikov
            Jan 13 '13 at 15:10







            I guess you should start from wiki and here is the quite authoritative source of nfs-related information.

            – dchirikov
            Jan 13 '13 at 15:10















            afs is supposedly more robust.

            – Faheem Mitha
            Jan 13 '13 at 22:05





            afs is supposedly more robust.

            – Faheem Mitha
            Jan 13 '13 at 22:05













            4














            There are multiple ways to accomplish this. You could setup a Samba server. This would allow multiple computers to see the same files without having to copy them back and forth.



            If you have just SSH access you might want to take a look at sshfuse.



            make mountpoint



            % mkdir blah


            mount remote directory through sshfs



            % sshfs root@somehost:/root blah


            see remote files, locally



            % ls blah/
            file1
            file2
            file3


            unmount when done



            % fusermount -u blah


            More info on sshfs is available here.






            share|improve this answer




























              4














              There are multiple ways to accomplish this. You could setup a Samba server. This would allow multiple computers to see the same files without having to copy them back and forth.



              If you have just SSH access you might want to take a look at sshfuse.



              make mountpoint



              % mkdir blah


              mount remote directory through sshfs



              % sshfs root@somehost:/root blah


              see remote files, locally



              % ls blah/
              file1
              file2
              file3


              unmount when done



              % fusermount -u blah


              More info on sshfs is available here.






              share|improve this answer


























                4












                4








                4







                There are multiple ways to accomplish this. You could setup a Samba server. This would allow multiple computers to see the same files without having to copy them back and forth.



                If you have just SSH access you might want to take a look at sshfuse.



                make mountpoint



                % mkdir blah


                mount remote directory through sshfs



                % sshfs root@somehost:/root blah


                see remote files, locally



                % ls blah/
                file1
                file2
                file3


                unmount when done



                % fusermount -u blah


                More info on sshfs is available here.






                share|improve this answer













                There are multiple ways to accomplish this. You could setup a Samba server. This would allow multiple computers to see the same files without having to copy them back and forth.



                If you have just SSH access you might want to take a look at sshfuse.



                make mountpoint



                % mkdir blah


                mount remote directory through sshfs



                % sshfs root@somehost:/root blah


                see remote files, locally



                % ls blah/
                file1
                file2
                file3


                unmount when done



                % fusermount -u blah


                More info on sshfs is available here.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 13 '13 at 13:10









                slmslm

                257k71544691




                257k71544691






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f61135%2fdownload-copy-of-file-which-updates-on-change%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

                    Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

                    The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

                    Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...