Killing Hidden OS Files

Plugging USB drives into various operating systems automatically starts a rampant process of dropping hidden files all over the place used for indexing, trash directories, and other annoying bit. Here is a list of culprits and how to get rid of them:

Stop OSX Spotlight Indexing
Put an empty file called ‘.metadata_never_index’ in the root directory of the removable drive.

Prevent OSX .Trashes directory
Put an empty file called ‘.Trashes’ in the root directory of the removable drive.

Prevent OSX Event-logging
Make a directory called .fseventsd and inside that folder put a single file named no_log

Prevent Windows Recycling Bin Files

Prevent Windows Recovery Files

BASH script to remove pesky hidden files generated by OSX and Windows

Comments are closed.

Search

Websites

  • slide
  • slide
  • slide
  • slide