Hot answers tagged .ds-store
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.
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! ;)
Have your Mac user install BlueHarvest.
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 ...
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 ...
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 ...
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
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 ...
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
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. ...
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.
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.
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 ...
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 ...
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, ...
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 ...
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.
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 ...
I'm using Xtra Finder (http://www.trankynam.com/xtrafinder) to toogle fast between hidden files. You can create your own shortcut for toogling. No need to kill finder. This is a little bit more handy and easier to use instead of typing commands or executing scripts.
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.
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 ...
Definitely use the transparent icon. Then, just move it. Out of sight, out of mind.
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, ...
In PowerShell do this: cd MyFolder Get-ChildItem -recurse -filter .DS_STORE | Remove-Item -WhatIf When you specify -WhatIf, then PowerShell won't make any changes. It will instead tell you what it would have done. When you are happy with what it will do, then you can remove the -WhatIf. (It always pays to be careful when doing a recursive delete. You ...
Only top voted, non community-wiki answers of a minimum length are eligible