Benches macOS

5

Removing hidden files from an SD card

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

My Garmin GPS uses an SD card to store maps downloaded from my Mac as well as writing logs of where I have been.

With a recent update to the device software I now have a shut down problem that Garmin claims is due to hidden files on the card. Those files such as .Trashes, .Spotlight-V100, etc., were put there when I created my map files using Garmin software.

I can see the hidden files in Finder but can't delete them via Finder as this would involve moving .Trashes into itself.

I have tried using Terminal but ls -A /dev/diskxxx shows nothing. I haven't used Unix in years and could use a tutorial on navigating. There is no ownership issue on this volume.

A simpler option may be to simply move the logs and maps folder to my disk, reformat the card and move the maps back.

5 replies

Sign in or join Beachball Help to reply.

  1. 0

    Király

    Imported from the Apple Support Forums via the Wayback Machine 🔗

  2. 0

    rack0 tack0

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    If you want the unix commands try:

    cd /Volumes change directory to Volumes

    ls list the volumes in use

    cd XXXXX Change to the directory(disk you want to view)

    ls -al list all the files

    this will list all files including hidden ones, use the 'rm' command to remove. There is no way back after using 'rm' so be careful.

  3. 0

    Király

    Imported from the Apple Support Forums via the Wayback Machine 🔗

  4. 0

    rack0 tack0

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    If you want the unix commands try:

    cd /Volumes change directory to Volumes

    ls list the volumes in use

    cd XXXXX Change to the directory(disk you want to view)

    ls -al list all the files

    this will list all files including hidden ones, use the 'rm' command to remove. There is no way back after using 'rm' so be careful.

  5. 0

    Bruce Michel

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks, I had to use rm -R on the command line to get rid of these folders.

    I realized that I cannot reformat the card as these files will be created or left alone anyway. I thought I could be smart by reformatting the card in my camera, but apparently such files are left alone.