1. 2015 is going to be a great year for Android! Why wait??
    Samsung Galaxy Note 5 | Samsung Galaxy S6 | HTC One M9
  2. New Forum Created: Samsung Gear VR!

What's a nomedia fileGeneral


  1. bigb3456

    bigb3456 Well-Known Member

    Seriously what is it

    Advertisement
    :
  2. ardchoille

    ardchoille Well-Known Member

    A .nomedia file is a blank file placed inside a folder. When the media scanner detects the .nomedia file, the media scanner does not scan that folder so the images in that folder don't appear in the Gallery app. It's a good way of having a folder full of images (like a skin for an app) and not have those images appear in the Gallery app. You can place a .nomedia file in any folder but the filename must begin with a period.

    Also, on a Linux system a "dotfile" (a file with a filename that begins with a period) is hidden from standard view, though most file managers have an option to allow viewing dotfiles. So the file is hidden from view and the images in that folder aren't cataloged in the Gallery app.
  3. bigb3456

    bigb3456 Well-Known Member

    If I stuck it in my folder called notifications would it hide those files in it from the music gallery
  4. ardchoille

    ardchoille Well-Known Member

    I'm not sure, only one way to find out :) You can always delete the .nomedia file if it doesn't work.
  5. bigb3456

    bigb3456 Well-Known Member

    Where can I generate a nomedia file
  6. ardchoille

    ardchoille Well-Known Member

    A .nomedia file is just a blank text file but has the filename of ".nomedia", any text editor can create a new file but make sure you save it with the .nomedia filename.
  7. bevhoward

    bevhoward New Member

    fwiw, ES FileExplorer has the option to easily create a new blank file in any directory.

    Beverly Howard
  8. bevhoward

    bevhoward New Member

    Related question... is there a reference page that lists "period file" names for use in Linux ...my search syntax for this is not getting any results.

    Thanks in advance,
    Beverly Howard
  9. Wercik

    Wercik New Member

    And here's the reason behind the .nomedia files:
    It was Google Play's compliance policy (not sure if still is) that no internal app files should be unintentionally recognized by any of the media players/galleries. Hence the file, cheers.
    Podivin likes this.
Loading...

Share This Page