How can I delete the files .DS_store in Mac OS Yosemite?

How can I delete the files .DS_store in Mac OS Yosemite?

The .DS_Store file is normal. It holds certain settings related to the folder it is found in. Removing these files is futile, as they will come back, as you have observed.
If you are seeing them on your Mac, that means you have changed settings so that your Mac is showing invisible files in the Finder. To reverse that, run the following command in the Terminal:
defaults write com.apple.finder AppleShowAllFiles NO
This will hide them, and any other invisible files, from view.
If you are seeing them on a Windows machine, just ignore them. They're not doing any harm.
If you found a Terminal command that is supposed to stop them from being created, I would be extremely skeptical as to the wisdom of running it.

Similar Messages

  • I download confidential info & save to a secured flash drive; how can I delete the file from "downloads" after that?

    I am a mental health professional. My supervisor emails me confidential information as Word documents, which I download using Firefox. When the download is complete, I open the document and save it to my secured flash drive. I would like to then delete the file from my computer, so the flash drive has the only copy, to protect my clients' privacy. The only directions I can find are for deleting the entry from the downloads list, but not the file itself.

    There is technology known as RMS which you could set series of policies like only members in the company could access certain documents and if someone copy them and attempt to run them in another PC or outside company, it won't work. Take a look at:
    http://blogs.technet.com/b/rms/archive/2013/08/29/the-new-microsoft-rms-is-live-in-preview.aspx
    https://technet.microsoft.com/en-us/library/dd277361.aspx

  • If I backup, can I delete the files from my Mac?

    I bought a external hard drive today...and I've never used TM before.
    Basically, I want to back up everything on my computer to the hard drive. But, I'm running out of space on my Mac...is there any way to use Time Machine to back up my computer AND keep all of those files that are taking up all that extra space? I'm assuming it works like an iPhone backup (and deletes contacts, notes, etc. that you delete)...but from what I've read on this site, it seems like Time Machine backups work a little differently. Would it just be easier to partition my hard drive? Thanks guys!

    If you delete your files from your main hard drive, TM will eventually purge them from the backups.
    If a file existed for more than a week on your hard drive, then TM will keep a copy in its backups until the TM drive fills up, and then the file is at risk of being deleted.
    If a file existed for only a few days, there is a chance that all the backups of it will be deleted within a week.
    If a file existed for only a few hours, there is a chance that all the backups of it will be deleted the very next day.
    All of the above assumes that the file existed *in the same place*. If you moved the file around to different places then there is even less likelihood of it being retained by TM.
    If you can manage to keep your files on your hard drive in the same place for at least a week before you delete them, and you always ensure that your TM disk has plenty of space for new backups, then TM will be fine for retaining your deleted files.
    If you can't keep your files in the same place for a week before deleting them, and you still want them archived in your backups, then Time Machine is not a good backup program for you to use. Retrospect would be better.

  • How can I delete .trashes file from my mac and usb?

    i found this invisible folder ".Trashes" everywhere in my mac and also in my usb. how can i get rid of it?
    any help??

    Open the Script Editor or AppleScript Editor in one of the subfolders of Applications and run the following:
    tell application "Finder" to quit
    if (do shell script "defaults read com.apple.finder AppleShowAllFiles") is "1" then
    do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
    else
    do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
    end if
    delay 2
    tell application "Finder" to run
    If you change your mind later, run the script again.
    (62462)

  • How can I delete the photos or files in my iCloud storage that is no longer needed?

    How can I delete the photos or files in my icloud storage that is no longer needed?

    Explain how it didn't work and what you are trying to delete.  Since icloud doesn't store photos except for those in a backup (then delete the backup); photos in photo stream do not count towards your storage limit.

  • I use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    i use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    Welcome to Apple Support Communities
    That's the classic behaviour after using Migration Assistant and that's normal.
    To transfer the data from the new user account to your old user account, you can follow some steps. Here is all the information you need to do this > https://discussions.apple.com/docs/DOC-5472

  • Hallo! How can i delete my files wich are saved not on the C: drive?

    Hallo! How can i delete my files wich are saved not on the C: drive?

    I'm guessing there must be more to this question than you are stating.
    But to answer the question you asked, if you want to delete files that are not on the C drive, select the files and then delete them (press the Delete key, and then Delete from Hard Disk or not, your choice)

  • How can I delete a file? At the moment I delete each pic and it takes ages! I tried select all and managed to delete all my 2300 photos!!  I've got them back but I've also got back 980 which I had already deleted 1 by 1 over the past 6 months!  Help!

    Please help! How can I delete a file without deleting all my photos?  I have just managed to delete all my more than 2000 photographs by choosing' Select all' and then delete. But I thought only 'all' the photographs in the file I had open would be selected! I have got them back, but I've also got back more than 800 others that I'd deleted SINGLY over the last 6 months! HELP!

    Put a Photo in the iPhoto Trash.
    iPhoto Menu -> Empty Trash
    This removes the photo from iPhoto and the Hard Disk (in every version of iPhoto except iPhoto11)
    In iPhoto 11 the file goes to the System Trash, you need to empty that too.
    Regards
    TD

  • How can I delete the yellow marked files in the hard drive overview?

    Hey guys,
    there are only 50 gb on my hard disk available and a huge part is blocked by the yellow section. How can I delete that files?

    See these Links...
    Where did my Disk Space go?
    Lion's Storage Display

  • How can I Delete the error podcast file in my iPhone?

    I've tried to download some podcast content from iTunes. But I've failed to download these files. In the iTunes, there is another same contents that has a little different name of file. That files were good, so I've downloaded successfully. After downloading, I've founded two pocast  categories in the list of video app. I could not play some files. So I wanted to delete these files from my iPhone. But I can't. I know how to delete the file but that way is not working. Could you let me know how can I delete these files?

    Yes, i did. But that was not working. Normally that way is good, in my case that is not possible.

  • How can i delete the contains of my iCloud forever? I deleted erase the files in my iPhone but they come back when i start New backup, even when i erase the files and back ups and logoff.

    How can i delete the contains of my iCloud forever?
    I deleted the files in my iPhone but they come back when i start New backup, even when i erase the files and back-ups.
    When i start a new download, the pictures come back, but they aren't in my iphone.

    wow you too never got NO answer, what nerve its worse then mobileme

  • How can I delete music files of the IPhone?

    how can i delete music files of the IPhone. I was already in ITunes, but this option was grey!

    Thx Allan, it was successful!!!!

  • How can I delete a file from Adobe Acrobat Reader DC?

    How can I delete a file from Adobe Acrobat Reader DC?

    What operating system do you use? Where do you store the files?

  • HT4796 How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users?

    How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users? Having to log out just to sign in on a different user to access the files is absurd.
    Do I make all the files sharable to all the NOW users on the mac then just delete the files? Or can i erase my account that I made when starting up my new mac and then just use the one with the transferred files?
    I just dont want to have to og in and out of 2 different accounts .. Help please.         
    -Nina

    Sorry. /Users is a folder path. It would be similar to C:\Users (if that exists on Windows).
    So, in the Finder, select Computer from the Go menu.
    You'll see Macintosh HD, double-click that to open it.
    In there you'll see several folders. One is Users. That is where all the user Home folders exist. Select the other account's home folder and go to step 3.
    If you have any more confusion, please stop and ask. We'll get there.
    If you feel more comfortable, you can just log into that other account and move the files into /Users/Shared.
    Then, log into the account you wish to use and copy the files from the Shared folder and paste them into your Home folder, wherever they belong, Documents, Music, Pictures, etc.  That just takes a little more work. Transferring them into Shared, and then copying into your home sets the permissions on the files so that you won't have a problem accessing them later. The steps I provided just prevent you from having to do the double move, since you are not going to use the old account once you are done.
    Quick unix shorthand. If someone gives you a file path that begins with a /, that means the root of the hard drive, ie Macintosh HD (if you haven't renamed it). The path separator in unix is /, not \.
    A path that starts with ~/ means your Home folder, the one inside /Users named with your account name.

  • How can I delete PDF files from my iMac desktop?

    How can I delete PDF files from my iMac desktop?

    Not on my system,When I try to dump if off in the trash it will not go. I get a message that says this file cannot be removed. I also tried going to File and clicking on Move to Trash. No dice.

Maybe you are looking for