If the special file is there, the script deletes all the osx metadata and creates a few small new items which prevents anything else. If the special file is not there, then nothing happens. If run with a commandline argument, it tries to see if the argument is a directory, and if that directory contains a file named ".disable_osx_metadata". To translate for non-native bash speakers, what it does is: It functions the same way as freefly42's, just a different way of writing the same thing. I got this to work on Sierra 10.12.3 in Automator.įirst, I made this version of the script: Just go to the App Store - you won't need to pay. Not saying something would lead more people to waste time fiddling with the Terminal or installing questionable apps. So I apologize if this seems more like a rant than an answer, but indeed, all of the previous answers were out-of-date and didn't lead to a useful solution. Tomorrow, something better may come along, but the bottom line is: the App Store has free, easy solutions to j-g-faustus' original but enduring question, posed here so many years ago - a question I had myself today. (Offers in-app purchases of customized icons. Solves the problem, lovely interface, completely free. My choice on ***December 20th, 2017*** is "CleanMyDrive 2" from the App Store. So, whenever you happen to read this "answer", its advice to you is to search the App Store for something up-to-date, well reviewed, and free. Moreover, something from the AppStore has undergone at least minimal auditing by Apple and can be removed from your computer as easily as it is installed. Not wanting to deal with the App Store is one thing, but not wanting to register with Apple as a developer is another. I'd also be a bit wary of installing something that will wield total control of the filesystem, written by unidentified developers. The apps listed in previous answers might have been good at the time, but they haven't been maintained to work with modern versions of macOS. Nonetheless, developers have filled the void with numerous Apple-approved apps. It's still a very common problem for people using USB disks or SD cards to play media in their cars or other devices. You'd think after all these years, Apple would build something into the Finder to deal with this. (previous remarks below still apply) 2017 December The developer continues to update and support the app, which is still free on the Mac App Store. I tested the latest version of Clean My Drive 2 on an M1 Mac, and am happy to report it still works perfectly. Thanks to, their troubleshooting Mac OS X e-books, and their website for the detailed explanation of why other methods sort of work. Sudo mdutil -E /path_to_volume and press returnĪt the Terminal prompt, type exit then press return. If you are using Mac OS X 10.5 or later, skip to step 9.Īt the Terminal prompt, type the following command, again substituting the correct path: Spotlight will immediately cease to index the specified volume. path_to_volume/: Indexing disabled for volume. If prompted for a password, type your admin password, then press return. If for some reason you’re not happy with your computer, you can sell your phones and electronics for cash with Gazelle Trade-In.Navigate to Macintosh HD > Applications > Utilities and open Terminal.Īt the Terminal prompt, type the following command, replacing path_to_volume with the real path: Enter the following text into the Terminal window, then press “Enter“: “defaults write AppleShowAllFiles NO”. Open Terminal using one of the two methods described above.If you want to hide files and not make them visible, you can reverse the process by following these steps.To do so, hold down the “Alt” key and right-click or two-fingered click on the Finder icon. Restart Finder. Your new setting will take effect after you relaunch finder.Exit the Terminal program. This can be done by selecting “Quit Terminal” from the Terminal menu.Enter the following text into the Terminal window, then press “Enter“: “defaults write AppleShowAllFiles YES”.Select “Applications” on the left side, then on “Utilities“, and double-click on “Terminal“.It can be opened in one of two following ways: Open Terminal. Terminal is a utility that provides access to the OS X El Capitan operating system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |