UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Accessing Artist Folders in terminal

    Scheduled Pinned Locked Moved Solved Support
    4 Posts 2 Posters 195 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • M Offline
        mw4jet
        last edited by

        This seems pretty basic, but I have a folder in Music on my device that I cannot delete with the device connected to windoz file explorer. I have switched to Ubuntu on terminal, I have ssh'ed into the device and am in the Music folder. The folders with a space, like between a first name and a last name I cannot access, it returns the error "no such file or directory exists" even though I type just as shown when I list the folder contents. Is there a special character I should use in place of the Space?

        I can access the folder(directory) with a single word title....

        IanI 1 Reply Last reply Reply Quote 0
        • IanI Offline
          Ian @mw4jet
          last edited by

          @mw4jet Try enclosing the name with either single or double quotes. So don't type George Ezra but type 'George Ezra'.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            mw4jet @Ian
            last edited by

            @ian Thank you Ian, I tried to search but couldn't say it in a way to return any web pages that what I was getting at.

            It worked with single quotes.

            IanI 1 Reply Last reply Reply Quote 0
            • M mw4jet has marked this topic as solved on
            • IanI Offline
              Ian @mw4jet
              last edited by

              @mw4jet Nature abhors a vacuum and Linux/Unix abhors a space. If you type

              rm George Ezra

              then the OS tries to delete a file/directory called George and another one called Ezra. Both of these don't exist so it lets you know and doesn't delete the thing you wanted to. Enclose it in quotes and all is well.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post