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

    Removing ._ files from ROM?

    Scheduled Pinned Locked Moved Help and Support
    roms
    15 Posts 7 Posters 15.9k 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.
    • M
      morrisav10
      last edited by

      Hi all,

      Every time I add a rom wirelessly from my Mac to the roms folder, I get 2 copies, one with the ._ file which I gather I have to delete, I can't see it on my ROM folder when I'm transferring on my Mac though, which is how I normally delete games I don't fancy or don't work.

      Is there an easy way of removing these files? I'm a complete novice I'm afraid so all help would be welcome.

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by BuZz

        I googled it for you - "osx avoid copying ._ files"

        http://apple.stackexchange.com/questions/136248/disable-storage-of-invisible-files-on-my-cfs-or-smb-network-storage

        http://superuser.com/questions/212896/is-there-any-way-to-prevent-a-mac-from-creating-dot-underscore-files

        and other solutions.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators
          last edited by BuZz

          can also change the tool you use to copy I guess - you could use cyberduck for example. to remove the files on the rpi you can ssh in and do

          find /home/pi/RetroPie -name "._*" -exec rm -rf {} \;
          

          (based on http://superuser.com/questions/522149/remove-all-mac-generated-files-with-bash)

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          R 1 Reply Last reply Reply Quote 1
          • lostlessL
            lostless
            last edited by

            The above method works. You can also get an app called onyx. There's a feature called appdouble removal in it, which removes all those pesky Mac OS files.

            1 Reply Last reply Reply Quote 0
            • M
              morrisav10
              last edited by

              Thanks Guys,

              I'll definitely change the way I'm putting the ROMS on, what's the best way of removing the ones I have on retropie at the moment?

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by BuZz

                To remove roms ? Via the samba (windows networking) share or cyberduck with sftp if you are not familiar with commandline.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                M 1 Reply Last reply Reply Quote 0
                • M
                  morrisav10 @BuZz
                  last edited by

                  @BuZz I tried to do it with via samba, but I can't find the ._ file

                  mediamogulM 1 Reply Last reply Reply Quote 0
                  • mediamogulM
                    mediamogul Global Moderator @morrisav10
                    last edited by mediamogul

                    @morrisav10

                    Cyberduck will show you the ._ files if you should choose to delete them manually. I believe you can even use the top right search box to identify all the ._ files in the current folder. Deleting them all at that point would just involve pressing 'Cmd-A' and right clicking to select delete.

                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                    1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators
                      last edited by BuZz

                      I gave you a commandline earlier to use via ssh which will delete all those files. https://github.com/retropie/retropie-setup/wiki/ssh

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        morrisav10 @BuZz
                        last edited by

                        @BuZz

                        Thank you chaps! much appreciated.

                        1 Reply Last reply Reply Quote 0
                        • R
                          RxGolfer @BuZz
                          last edited by

                          @BuZz I'm not terribly familiar with ssh, but can I enter the commandline you mentioned by connecting a keyboard to my pi via usb and pressing F4? Or is this different?

                          lostlessL 1 Reply Last reply Reply Quote 0
                          • lostlessL
                            lostless @RxGolfer
                            last edited by

                            @RxGolfer the terminal is the same. Ssh is just a way to remotely log into a terminal.

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              RxGolfer @lostless
                              last edited by

                              @lostless Thanks! Sorry for being a little less computer savvy than I thought I was. Looking forward to cleaning up those files and then scraping for some artwork to finish the project!

                              1 Reply Last reply Reply Quote 0
                              • ohmycommodoreO
                                ohmycommodore
                                last edited by

                                As a Mac guy I've taken to using the Onyx AppleDouble removal method. I'd rather they not copy in the first place, but that tool works well. Once in a while I find I have to run it a couple of times, but other than that it works great. I've found (rather than individual folders) I can just use it on the main ROMS folder, and it works its way through quickly. If I'm fiddling with the Pi on my Mac anyway, it's an easy final step to remember to give it a sweep.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  taras
                                  last edited by

                                  You should definitely try the Duplicate Files Deleter Program

                                  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.