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

    A tip on finding that config file you just accidentally created or changed.

    Scheduled Pinned Locked Moved Help and Support
    core remappinggame remapwinscpfile locationsconfig file
    2 Posts 2 Posters 347 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.
    • C
      crumbs
      last edited by

      Hi People, this might be helpful:
      I often get lost in the file structure of Linux and all the different config files for RetroPie.

      Perhaps you were trying to change the input for a game, and you just accidentally created a core remap instead of a game remap file.
      Here's a fast and easy way using Windows PC with WinSCP to track down that file so you can edit it or delete it.

      Enable SSH in Retropie>Raspi-Config if not already enabled.
      Use WinSCP software to connect to your pi via SSH.
      Navigate to opt/retropie/configs.
      Find Files using a file mask of >2020-10-17 to find all the files that were changed that day.
      WinSCP lets you edit the files or delete them from your PC.

      1 Reply Last reply Reply Quote 1
      • ClydeC
        Clyde
        last edited by Clyde

        Addendum: You can also do that in the Linux command shell.

        cd /opt/retropie/configs
        find -type f -newermt yesterday
        

        -type f lists only files, not directories.
        -newermt yesterday shows only files whose modification time is newer than yesterday.

        If you append -ls to the command, you'll get a more detailed output.

        find -type f -newermt yesterday -ls
        

        See here for more examples.

        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.