RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    .sh not found

    Scheduled Pinned Locked Moved Help and Support
    7 Posts 2 Posters 1.5k Views
    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.
    • edmaul69E
      edmaul69
      last edited by

      So yesterday when i was have ownership issues i got out my other pi and tried to put some ports on. As i have done many times on both my systems i made .sh files for them. I set chmod +x on them no problems. But no matter what i get an error that /home/pi/retropie/roms/ports/"name of game".sh not found happens on any i created. So today im on my main system the i chown'ed /home/pi to yesterday and got working i tried to create a new .sh and keep getting the same error. I even tried creating it in /root/ instead of /home/pi and moving it as that is how all these other ones were created and still same thing. I chmod'ed them with both users pi and root and still the same thing. Not sure why this is happening.

      1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69
        last edited by

        nm. for anyone who runs into this. you cannot just drag .sh files from your pc onto the pi through ftp. they have to be created on the pi. you can do that on the ftp program logged into the pi though.

        cyperghostC 1 Reply Last reply Reply Quote 0
        • cyperghostC
          cyperghost @edmaul69
          last edited by

          @edmaul69 said in .sh not found:

          nm. for anyone who runs into this. you cannot just drag .sh files from your pc onto the pi through ftp. they have to be created on the pi. you can do that on the ftp program logged into the pi though.

          Of course you can create sh-files in windows. You just need to set the correct linefeed for UNIX systems and on then chmod'em on the target mashine.

          edmaul69E 1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @cyperghost
            last edited by

            @cyperghost im not sure how to do all that. Yesterday i tried to take ones i made on one pi and copy them to another pi with no luck. I might have edited them on windows to point to /home/pi from /root/ before i fixed my other issue on the first pi.

            cyperghostC 2 Replies Last reply Reply Quote 0
            • cyperghostC
              cyperghost @edmaul69
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • cyperghostC
                cyperghost @edmaul69
                last edited by cyperghost

                @edmaul69
                Use for example Notepad++ and in the grey bottom status line you will see "normal text / length: x line: y / .... Dos/Windows"

                Click with a right mouse on Dos/Windows and change it to Unix. That's it :)

                edmaul69E 1 Reply Last reply Reply Quote 0
                • edmaul69E
                  edmaul69 @cyperghost
                  last edited by edmaul69

                  @cyperghost good to know. Thanks.

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

                  Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                  Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.