How to access gvfs mounts from command line?












15















I have some samba share mounted via Nautilus and I'd like to access the files from command line. They used to appear under $HOME/.gvfs but not any more.



Where have they gone to?










share|improve this question





























    15















    I have some samba share mounted via Nautilus and I'd like to access the files from command line. They used to appear under $HOME/.gvfs but not any more.



    Where have they gone to?










    share|improve this question



























      15












      15








      15


      7






      I have some samba share mounted via Nautilus and I'd like to access the files from command line. They used to appear under $HOME/.gvfs but not any more.



      Where have they gone to?










      share|improve this question
















      I have some samba share mounted via Nautilus and I'd like to access the files from command line. They used to appear under $HOME/.gvfs but not any more.



      Where have they gone to?







      command-line 12.10 gvfs






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 27 '12 at 23:01









      Eric Carvalho

      41.9k17115147




      41.9k17115147










      asked Dec 25 '12 at 1:51









      lang2lang2

      18518




      18518






















          2 Answers
          2






          active

          oldest

          votes


















          13














          Since Ubuntu 12.10, gvfs mounts can be found in /run/user/<uid>/gvfs.



          Where /run/user/<uid> is the value of env $XDG_RUNTIME_DIR






          share|improve this answer


























          • Note: you can get the <uid> by the command id -u and by using the backticks you can get the output in another commandline, like this: "ls -al /run/user/id -u/gvfs "

            – jringoot
            Feb 8 at 9:35













          • backticks are alas interpreted as markup elements, google it to find out how to use them, there are a lot of good forum examples.

            – jringoot
            Feb 8 at 9:38



















          3














          As Eric's answer says, it also applies to 14.04:



          It is in /run/user/<uid>/gvfs instead of /run/user/<username/login>/gvfs.



          Please note that:



          <uid> is user id = number



          while



          <username/login> is a string, human readable user name



          Where one to the other is mapped through /etc/passwd or any other nss module (e.g. ldap). The numbers is actually stored on disk while the name is just for humans :-)






          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%2f232497%2fhow-to-access-gvfs-mounts-from-command-line%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









            13














            Since Ubuntu 12.10, gvfs mounts can be found in /run/user/<uid>/gvfs.



            Where /run/user/<uid> is the value of env $XDG_RUNTIME_DIR






            share|improve this answer


























            • Note: you can get the <uid> by the command id -u and by using the backticks you can get the output in another commandline, like this: "ls -al /run/user/id -u/gvfs "

              – jringoot
              Feb 8 at 9:35













            • backticks are alas interpreted as markup elements, google it to find out how to use them, there are a lot of good forum examples.

              – jringoot
              Feb 8 at 9:38
















            13














            Since Ubuntu 12.10, gvfs mounts can be found in /run/user/<uid>/gvfs.



            Where /run/user/<uid> is the value of env $XDG_RUNTIME_DIR






            share|improve this answer


























            • Note: you can get the <uid> by the command id -u and by using the backticks you can get the output in another commandline, like this: "ls -al /run/user/id -u/gvfs "

              – jringoot
              Feb 8 at 9:35













            • backticks are alas interpreted as markup elements, google it to find out how to use them, there are a lot of good forum examples.

              – jringoot
              Feb 8 at 9:38














            13












            13








            13







            Since Ubuntu 12.10, gvfs mounts can be found in /run/user/<uid>/gvfs.



            Where /run/user/<uid> is the value of env $XDG_RUNTIME_DIR






            share|improve this answer















            Since Ubuntu 12.10, gvfs mounts can be found in /run/user/<uid>/gvfs.



            Where /run/user/<uid> is the value of env $XDG_RUNTIME_DIR







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 7 at 12:30









            jringoot

            561318




            561318










            answered Dec 27 '12 at 3:21









            Eric CarvalhoEric Carvalho

            41.9k17115147




            41.9k17115147













            • Note: you can get the <uid> by the command id -u and by using the backticks you can get the output in another commandline, like this: "ls -al /run/user/id -u/gvfs "

              – jringoot
              Feb 8 at 9:35













            • backticks are alas interpreted as markup elements, google it to find out how to use them, there are a lot of good forum examples.

              – jringoot
              Feb 8 at 9:38



















            • Note: you can get the <uid> by the command id -u and by using the backticks you can get the output in another commandline, like this: "ls -al /run/user/id -u/gvfs "

              – jringoot
              Feb 8 at 9:35













            • backticks are alas interpreted as markup elements, google it to find out how to use them, there are a lot of good forum examples.

              – jringoot
              Feb 8 at 9:38

















            Note: you can get the <uid> by the command id -u and by using the backticks you can get the output in another commandline, like this: "ls -al /run/user/id -u/gvfs "

            – jringoot
            Feb 8 at 9:35







            Note: you can get the <uid> by the command id -u and by using the backticks you can get the output in another commandline, like this: "ls -al /run/user/id -u/gvfs "

            – jringoot
            Feb 8 at 9:35















            backticks are alas interpreted as markup elements, google it to find out how to use them, there are a lot of good forum examples.

            – jringoot
            Feb 8 at 9:38





            backticks are alas interpreted as markup elements, google it to find out how to use them, there are a lot of good forum examples.

            – jringoot
            Feb 8 at 9:38













            3














            As Eric's answer says, it also applies to 14.04:



            It is in /run/user/<uid>/gvfs instead of /run/user/<username/login>/gvfs.



            Please note that:



            <uid> is user id = number



            while



            <username/login> is a string, human readable user name



            Where one to the other is mapped through /etc/passwd or any other nss module (e.g. ldap). The numbers is actually stored on disk while the name is just for humans :-)






            share|improve this answer






























              3














              As Eric's answer says, it also applies to 14.04:



              It is in /run/user/<uid>/gvfs instead of /run/user/<username/login>/gvfs.



              Please note that:



              <uid> is user id = number



              while



              <username/login> is a string, human readable user name



              Where one to the other is mapped through /etc/passwd or any other nss module (e.g. ldap). The numbers is actually stored on disk while the name is just for humans :-)






              share|improve this answer




























                3












                3








                3







                As Eric's answer says, it also applies to 14.04:



                It is in /run/user/<uid>/gvfs instead of /run/user/<username/login>/gvfs.



                Please note that:



                <uid> is user id = number



                while



                <username/login> is a string, human readable user name



                Where one to the other is mapped through /etc/passwd or any other nss module (e.g. ldap). The numbers is actually stored on disk while the name is just for humans :-)






                share|improve this answer















                As Eric's answer says, it also applies to 14.04:



                It is in /run/user/<uid>/gvfs instead of /run/user/<username/login>/gvfs.



                Please note that:



                <uid> is user id = number



                while



                <username/login> is a string, human readable user name



                Where one to the other is mapped through /etc/passwd or any other nss module (e.g. ldap). The numbers is actually stored on disk while the name is just for humans :-)







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 27 '14 at 9:43

























                answered Aug 26 '14 at 11:59









                pxlinuxpxlinux

                514




                514






























                    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%2f232497%2fhow-to-access-gvfs-mounts-from-command-line%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

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                    Eduardo VII do Reino Unido