.DS_Store files on USB thumbdrives - a way to stop them from being created?

Hello!
Forgive me if this has been asked to death, but at school I need to copy homework files back and forth to the school's XP-based computers constantly. Because in any given day I usually update half a dozen files across the "homework" folder on my Powerbook, it's easier just to copy the entire folder (and its subfolders) to my 2-GB, FAT-32 formatted flash drive each night - all 500 files (and 150 MB). Of course, this also leaves hundreds of .DS_Store and ._filename files to clutter "Windows explorer" windows.
My question is how do I remove (and prevent creation of) these files selectively? I know that they are used by the finder to store thumbnails, spotlight comments, and labels. The big problem is that while I want to remove these files from the homework folder (and some other folders), I DO NOT want to remove them from a few other folders on the flash drive - which I use to make quick backups of files from my Mac.
I know that I can prevent OS X from creating them altogether with certain utilities, and I know that I can get third-party utilities that allow me to remove these files from flash drive and/or prevent the creation of the files for entire volumes, but is there something I can do to remove them from only certain folders?
Also, since I do not always know beforehand what directories I might make, I'd like to be able to create a "white list" of only certain directories (and their sub-directories)that won't be touched, while all others will have their ".DS_Store" and "._filename" files removed.
Finally, because I'm often a hurry when I go to copy files, I'd rather not sit there and run terminal commands or a program every time I copy a folder over to the flash drive. Is there some way to prevent them from being created in these certain folders altogether, automatically? An applescript or terminal command that I can program to run from the script menu perhaps? I don't mind opening a program or script, I just don't want to have to sit there manually removing the files.
Thanks,
-Dan

I had a similar problem awhile back and asked for help in the Applescript forum:
http://discussions.apple.com/thread.jspa?threadID=954738&tstart=0
Unfortunately the revised jive software formatting function here in the forums has totally messed up things like posted scripts. What you'll see in the scripts discussed is no longer what was there originally. I just now put a copy of the script I'm using up in zip format here:
http://homepage.mac.com/francines/.Public/CopyStrip2Fat.zip
Unzip and open in Script Editor to get some idea of what it is really supposed to be. The idiot formatting of the revised jive software has replaced some things with a carriage return, a semi-colon, and close quote, thus rendering some lines meaningless.
To see the source of the script I quoted, see this MacOSXHints thread:
http://www.macosxhints.com/article.php?story=20040726164957299
The script is in the comment by cougar718. You might take a look at other comments as well.
Francine
Francine
Schwieder

Similar Messages

  • When I log in both word and excel automatically open. Is there a way to stop them from opening on startup?

    when I log in both word and excel automatically open. Is there a way to stop them from opening on startup?

    I believe on new mac this is how it works by default.  There is a preference to turn this 'feature' off.
    You should look in you login items under accounts under system preferences.
    Here is how to find out what version of Mac OS you are running:
    Click on the blue apple in the upper left hand of the screen.
    click on this icon
    Click on the first line, "About This Mac"
    Most of these are numbers & that's what we want.
    What version & Processor do you have?

  • Wife is getting old and keeps closing my google phone window is there a way to stop it from being closed or going to another site?

    Wife is getting old and keeps closing my google phone window is there a way to stop it from being closed or going to another site? The window needs to be left open so we can receive phone calls.

    You can use an extension to lock specific tabs.
    *Tabberwocky: https://addons.mozilla.org/firefox/addon/tabberwocky/
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • Stop LR from automatically creating TIFF or PSD files when opening in PS.

    Every time I open a RAW file into Photoshop CS5  from LR3, it automatically creates and saves a PSD or TIFF file. Is there a way to stop lightroom from doing this? When I used LR2, I saved these files only if I choose to. I always convert my files to jpg after I'm done editing in PS and don't need these huge files hanging around.

    Kara_Rue wrote:
    The jpgs contain my photoshop edits so that is why I save them. As far as I know, the lightroom data will be retained but any additional photoshop editing will need to be saved in some format. I'm a professional photographer so I like to have the JPGS easily available for when people order prints.
    I suppose that is just a difference in our personal workflows. Since JPEG files are compressed with lossy compression, many people prefer to keep the TIF or the PSD that Photoshop creates. That file contains all of the Photoshop changes as well as the original Lightroom adjustments. And there is no quality loss in those files. Then JPEG images are created as needed for printing or sharing on the web. And once that purpose has been met, the JPEG files are deleted. But your workflow seems to be different, and one that you are comfortable with. Sorry for harping like I did. I didn't even think about your need to upgrade ACR. Just be aware that if you decide to upgrade it will be necessary to upgrade both programs in order to keep everything in sync.

  • Is there any way to prevent fields from being overwritten when importing data via xdp-file?

    In an pdf-form designed with LCD everytime the form gets merged with an xdp-datafile content of all fields get overwritten, regardless which data-binding (normal, global, none) is assigned to the fields and regardless if the fields are exluded in the xdp-datafile. Is this normal behavior and is there any way to prevent fields from being overwritten?

    The xdp-file is first exported from Acrobat Professional 8 (export data as *.xdp) to get the complete structure. Then in the xdp-file some fields are removed manually and other fields are filled with data. When the modified xdp-file is opened again with Acrobat Professional 8 it grabs the original pdf-form and merges the manually filled fields into the form. With the merge all other fields in the form are overwritten, even if they are not defined in the xdp-file. And that is what I want to avoid. I want to merge the xdp-file into the form and keep the data in fields not defined in the xdp-file.

  • My playlist appears in itunes, but the music files have mysteriously disappeared in my iTunes Media file. Is there a way to recover them? Tried searching and cannot find them.

    My playlist appears in itunes, but the music files have mysteriously disappeared from my iTunes Media file. Is there a way to recover them? Tried searching and cannot find them.

    This page might help: http://support.creative.com/kb/ShowArticle.aspx?sid=44083
    Older Zens don't support AAC, which is the format iTunes uses for songs.
    You can convert from AAC to MP3, which every media player under the sun will play.  Here's a tutorial: http://reviews.cnet.com/8301-12519_7-10096807-49.html

  • When you are pulling music from a hard drive and it says music can not be found, is there a way to stop it from doing that every time I play music from my computer? It used to find all music now it only finds 1 song at a time

    When pulling music from a harddrive and it say music can not be found, is there a way to stop this from happening every time I play music on my computer? It used to find all music when serching for song but now it only finds 1 at a time. I have over 2000 songs so I can't go through this every time.

    1) However I do not want to move my itunes Music onto the flash drive, only my Movies, and want to keep my music on my hard drive.
    Is this possible?
    Yes
    2) Do the MacBook Air's not have a separate program other than itunes that can play movies? If so, is there a program I can get to solve this problem? I went onto the App Store to see if there was something I could download, but all the apps were for creating DVD's, not simply playing them.
    If you can play the movies in iTunes, you should be able to open the movie files using Quicktime, which should already be on your system.  If you have already transferred the files to your flash drive, open the flash drive in Finder, and hold control when you click on the movie file (or right click if you have the enabled) and select Open With Quicktime Player.  This should play the movie directly from the flash drive. 
    If you want to set all .m4v files to open with Quicktime by just double clicking on the file, you can follow the steps here: http://www.tech-recipes.com/rx/2573/os_x_how_to_change_default_application_to_op en_file_type/
    3) If 1. & 2. questions are solvable, will it then be safe to delete the movies from my itunes?
    You can move the TV shows to your flash drive by dragging them from the iTunes window to your flash drive in Finder or the flash drive icon on the desktop.  When you are sure everything is transferred over to your external device, you can delete the movie from iTunes.  I recommend playing the videos from the flash drive first before deleting them in iTunes. 
    To delete the videos from iTunes, you can highlight them and press the delete key on your keyboard.  In the next prompt, you would want to move it to the trash so that it is deleted from your internal hard drive.  
    I hope that helps!

  • Is there a way to stop Firefox from suggesting to add new search engines to my search bar?

    Is there a way to stop Firefox from suggesting to add new search engines to my search bar whenever I visit websites that suggest to us to add their search engines?
    I searched a lot and couldn't find any help. How to stop websites from suggesting to my Firefox search bar to add their search engines? I don't want to add other search engines other than the ones I organized. I don't want my list to look more distracting and longer.

    Firefox doesn't do that. That's either a feature of the website you are visiting or possible Malware on that PC.
    A screenshot of that might be helpful. <br />
    https://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem <br />
    It is best to use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed a maximum file size of 1 MB.
    Then use the '''Browse ....''' button below the '''''Post a Reply''''' text box to upload the screenshot.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Please report back to us!

  • I copied several MOV files to a CD. When I play them from the CD the video is fine but the audio works fine for the first few seconds then stops (using Qicktime Player 7.7.1.  Everything works fine if I use VLC Media Player. Does anyone have any idea why?

    I copied several MOV files to a CD. When I play them from the CD the video is fine but the audio works fine for the first few seconds then stops (using Qicktime Player 7.7.1.  Everything works fine if I use VLC Media Player. Does anyone have any idea why?

    My purpose for copying to a CD or DVD is so that I can make copies and send to friends and relatives. What is the best way to get these files on a CD/DVD with the right codecs?
    The easiest thing to do is to simply tell your friends and relatives to copy the files to their local hard drive before playing them. Your basic problem is that data discs have a limited real time transfer rate. Since you say VLC plays the files fine, I might suspect its player is likely buffering the data while the QT 7 Player is not.
    Data discs made for playback directly from the CD or DVD are normally encoded using MPEG-4/AVC (H.264) video with AAC audio. This is a modern codec which has specific settings to re-package the data (i.e., must be encoded using the multipass option and then select the "optimize for CD/DVD" option).

  • What are these files that keep appearing on my desktop and how can I stop them from showing up?

    Ever since I've upgraded to OS X Mavericks, I've had these strange files show up on my desktop. The trouble is that they show up even a little while after I delete them. Here's a few examples:
    141441.jpg.part
    IMG00019-20111209-2353.jpg.part
    IMG00062-20120927-2351.jpg.part
    I've done a few virus scans, but they showed no viruses. Why are these files always popping up and how can I prevent them from appearing on my desktop again?

    You need to delete Bitdefender from your Mac. It will cause you nothing but problems.
    Removing Bitdefender Antivirus for Mac
    The best way to prevent malware from being installed on your Mac is to enable Gatekeeper.
    Open System Preferences > Security & Privacy then select the General tab.
    Make sure either Mac App Store or Mac App Store and identified developers is selected. If that area is grayed out, click the padlock icon to proceed.
    OS X: About Gatekeeper

  • I allow my grandchildren to play free games on my ipad that I download for them.  Is there a way to prevent them from accidentally (or otherwise) purchasing upgrades?  My 6 yr old just did so and has no idea how she did it.  Can I block this access?

    I allow my grandchildren to play free games on my ipad and iphone that I download for them.  Is there a way to prevent them from accidentally (or otherwise) purchasing upgrades?  My 6 yr old just did so and has no idea how she did it. Is there a setting that would prevent this from happening?

    Yes.  You can set restrictions.
    This is covered in the manual.
    iPhone User Guide (For iOS 5.0 Software)
    iPad User Guide (For iOS 5.0 Software)

  • After I watch a podcast I delete it. When I go back in the next day it shows 500-600 episodes I have to delete manually. So 2 questions....  Is there a way to stop this from happening and is there a way to delete all. This is getting frustrating.

    After I watch a podcast I delete it. When I go back in there are 500-600 episodes and I have to delete each one manually. Is there a way to stop this from happening or is there a way to delete all at once. It's getting very frustrating.

    Had all these issues.  Bit the bullet and downloaded the Downcast App ($1.99).  Much better expereince and a lot more features.  Sad.

  • HT1689 i have my daughters iphone 3, i want to use it as an i-pod, but it keeps receiving messages from some her friends is there a way to stop this from happening, please help, my phone is maxed out and would really like the storage for music, thanks

    i have my daughters iphone 3, i want to use it as an i-pod, but it keeps receiving messages from some her friends is there a way to stop this from happening, please help, my phone is maxed out and would really like the storage for music, thanks

    It sounds like it still has her information on it, so it might be efficient to navigate to Settings, then General, then Reset, then Erase All Content and Settings. You can then set up the phone again, using your information. This way the phone will be yours, officially, and her data and information will be removed.

  • Is there a way to prevent HTML from being displayed in forum?

    Is there a way to prevent HTML from being displayed in forum in BC to avoid linking to other sites on an eCommerce site?

    Thank you for your post!
    Unfortunately there isn't a way to restrict customers to post on your forums links to other sites.
    However what I suggest here is to choose to moderate each forum post and this way you can choose to approve or remove links from the posts sent by customers.
    I hope this helps!
    Andrei

  • Having been without my Mac for a month I've been using iCloud mail. The new mail boxes that I set up there do not automatically show up in Mail on my replacement Mac. Is there any way to transfer them from ICloud mail to Mail?

    Having been without my Mac for a month I've been using iCloud mail.on a PC. The new mail boxes that I set up there do not automatically show up in Mail on my replacement Mac. Is there any way to transfer them from ICloud mail to Mail? Thanks.

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

Maybe you are looking for