Hot answers tagged .ds-store
This is what Adobe suggests: To avoid creating .DS_Store files, do not to use the OS X Finder to view folders. An alternative way to view folders is to use UNIX command line. Brilliant! ;)
You can show hidden files in Finder with a simple Terminal command: defaults write com.apple.finder AppleShowAllFiles -bool YES Then relaunch Finder by holding down the option key and right-clicking its dock icon. However, you can't hide the .DS_Store files without hiding the rest of the hidden files. You probably just have to live one way or the other.
You can't hide it, but you can make it transparent, then drag it to the bottom-left or bottom right corner. So only you will see a string ".DS_Store", and there will be no icon. Expert method: Copy a transparent image from your favorite img editor, select the icon of the file in the file info window, and paste the transparent image when the original icon is ...
Have your Mac user install BlueHarvest.
That file is a proprietary Mac/OSX system file that holds attributes/meta-data about the folder it resides in. These often appear in file shares that are accessed over the network by a Mac user; but that's not the only way you can get them. You may have gotten it in an archive (ie: a Zip file perhaps) you picked up someplace, which was originally created ...
just adding my solution to this as i didnt like any of the other options. I am web developer and I use /bin/zsh and oh-my-zsh .. either way you can add this to bash or sh.. Its simple, straight forward, and only 8 lines. I work a lot in the terminal though, so this is why this works best for my setup. in my .zshrc i added the following lines to make ...
Well, I know that there is utilities to do this, but I can't recall the name right now... But my Google-Foo, is working today... $ cd /Volumes/your\ target\ volume $ sudo touch .metadata_never_index This hidden file is recognized by both Leopard and Snow Leopard (Possibly Tiger too). But it will not stop a spotlight index that is currently being created....
There is this open source magic tool: asepsis. Sources are available on Github. Version 1.4 now works with OS X Mavericks. Update: Reported not working on El Capitan Warning: Asepsis is no longer under active development and supported under OS X 10.11 (El Capitan) and later.
Under Filezilla client, you can configure it to block some file extensions. In View >> Filename filters... you have to create a new filter. Go to Edit filter rules... and New. Look the existing filter called "Useless Explorer files" to adapt to Mac OSx files like .DS_Store From FileZilla oficial forums Regards
On Linux file servers or NAS devices you can use the following: Option A. Samba configuration modification preventing both resource shares and .DS_Store files: veto files = /._*/.DS_Store/ delete veto files = yes (Configuration file located at /etc/samba/smb.conf or /etc/smb.conf depending on your distribution) Disadvantages: not all shares are ...
If you're going to share an writable, external disk with other OS X systems, you can run the following command from YOUR machine to prevent .DS_Store files from appearing touch /Volumes/your_volume_name/.metadata_never_index then protect the file by running chmod 444 /Volumes/your_volume_name/.metadata_never_index This existence of this hidden ...
Not for any arbitrary USB flash drive you might insert (at least I don't think so). However, for a particular USB flash drive, check this out. Executive summary: Create two files, named .metadata_never_index and .Trash in the root directory of the USB flash drive. You'll have to manually remove any existing Spotlight or Trash folders that already exist.
Use a program other than Finder such as MuCommander to browse your files. (works on Local drives too). In OS X lion, this method should allow default access to ~/Library without modifying settings or hitting ALT as well. I use MuCommander on Snow Leopard and Lion and noticed that neither HFS+ or ExtFat volumes end up littered with files with these files. ...
Have him look into the free and aptly-named Cleanup SMB Mess application. The developer says: This applescript droplet will clean up Windows shares mounted through the Mac OS X samba client, by removing all "._*" files, .DS_Store files and .Trashes folders on all the volumes and folders dragged on it." I've only used with thumb drives and MP3 players,...
Use Window's "Search Advanced Query Syntax", which basically lets you do stuff that Vista and XP advanced search used to let you (that Windows 7 hid). Read about it here. You can just search filename:.DS_Store to find all files with a file name that begins with ".DS_Store". Should work.
If you use Cyberduck as a client, it will automatically skip those files (and several others) during transmission. This applies to both FTP and SFTP connections. If you're going command-line, you should use rsync instead of scp. With rsync you can add the option --exclude='.DS_Store' to skip those.
After many on/off years of searching for a solution, there are only a few alternatives, none of which quite match your original question; i.e. no solution exists to your specific question....yet One can specifically disable the .DS_store files from being created at all Leave Finder configured to not display hidden files Follow Adobe's nonsense and only ...
No. mdutil can turn off spotlight on network drives, but there's no way to stop it indexing removable drives (short of inserting the drive and then telling spotlight not to index that drive of course - but you're looking for something to stop it happening for all removable drives, always, not just the drives where you've manually turned it off) For trash, ...
Using Terminal works to hide .DS_store files. defaults write com.apple.finder AppleShowAllFiles -bool NO This hides the hidden files. Can change NO to YES if you wish to see them again.
Create an AppleScript/terminal service using Automator and save it to be accessible from the Finder>Services menu The Automator action will be a two step process. Step 1. Add an AppleScript. This script will toggle hidden files on or off (may not be properly formatted because I'm typing on my phone) if (do shell script "defaults read com.apple.finder ...
The short answer is that you have to hack the Finder binary at runtime to prevent it from creating them. There is no official Apple-blessed way of doing this without directly hacking binaries. "There's an app for that" nowadays. See this blog and this code which is quite awesome if you ask me :)
I have not used it personally, but have had BlueHarvest recommended to me for this... http://www.zeroonetwenty.com/blueharvest4/ From the site: The easiest way to keep your disks and file servers clean of Mac “dust”. BlueHarvest automatically removes DS_Store and ._ AppleDouble files (resource forks) from your USB keys, SD cards and file servers, ...
Transparent icon, move off screen, easy step-by-step here: https://www.scottofford.com/2013/03/hide-ds-store-on-mac/ Via this Ask Different answer: http://apple.stackexchange.com/a/237999/6902.
As of macOS Sierra Beta, .DS_Store is actually always hidden from the Finder. Just show hidden files as you would normally and .DS_Store will be gone: defaults write com.apple.finder AppleShowAllFiles -bool YES && killall Finder
El Capitan user here. I like to keep an clean desktop; no icons or links at all. I also need to see hidden files in Finder. I "double clicked" the .DS_Store Icon and selected "Show View Options." In that window, I scaled the icon down to 16x16, and text size to 10. I set the Grid Size as small as possible as well. I then dragged the icon down to the ...
This only addresses the Desktop, but as it's the most noticable and annoying place for .DS_Store files, it might be worth sharing: Drop to a terminal prompt cd ~/Desktop rm .DS_Store cd ~ chmod 500 Desktop This sequence removes your write permissions to the Desktop folder. Since Finder acts with your permissions, it also remove's Finder's ability to save ...
Definitely use the transparent icon. Then, just move it. Out of sight, out of mind.
I have changed the icon of DS_Store to transparent icon file (for the desktop). Look for transparent icon or png (http://osxdaily.com/2011/09/30/make-an-invisible-folder-hide-in-plain-sight/) and then convert it using: https://iconverticons.com/online/). Whilst I am not entirely happy with pretending it isn't there (#ostrichSolution) and would rather it ...
For the desktop annoying problem, my simple solution is hide the file behind the dock, you can change momentary the dock position and put the file where will remain invisible. Not a very technical solution, but effective.
Only top voted, non community-wiki answers of a minimum length are eligible