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

    how do i make a script for this code

    Scheduled Pinned Locked Moved Help and Support
    scriptsshfdupes
    4 Posts 2 Posters 205 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.
    • K
      kok00
      last edited by kok00

      Can anybody assist making .sh script from this and explain how to execute the script.

      fdupes -d -noprompt /rom1 /rom2
      

      those who do not know what this does,it removes duplicated roms fast and easy scanning /rom1 folder then removes only the duplicated roms from /rom2 works well.

      install it and run the command from above in command-line

      apt-get install fdupes
      
      1 Reply Last reply Reply Quote 0
      • HalvhjearneH
        Halvhjearne
        last edited by

        why do you need a script for this?

        1 Reply Last reply Reply Quote 0
        • K
          kok00
          last edited by

          so then i can place them in the root of the system and use it when ever its needed using the command line rather then typing all that information in.
          also it will help me to learn the the basic bash command works for this code.

          1 Reply Last reply Reply Quote 0
          • HalvhjearneH
            Halvhjearne
            last edited by

            tbh i really dont see the point, but ofc its possible to make a shell script call it whatever and execute.

            ./myscript
            
            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.