Go Back   Cell Phone Forums > Cell Phone Manufacturers > Apple

Notices

Reply
 
LinkBack Thread Tools Display Modes
Old 10-29-2007, 12:27 PM   #1 (permalink)
RSS Bot
 
cellphoner's Avatar
 
Join Date: Feb 2007
Posts: 3,918
Removing .DS_Store files from archives

Filed under: Hacks, How-tos
The marvelous Shaun T. Erickson tipped me off on a sweet way to remove .DS_Store files from your folders before you archive them. Those are the "invisible" files added by Finder on your Mac. He writes that it doesn't matter whether you zip or tar: if they are in the directory tree, they get picked up by the archive. He suggests running the following command from terminal, substituting the appropriate directory for "your_dir":find your_dir -type f -name .DS_Store -print0 | xargs -0 rm
After, just tar or zip up your tree.


Read | Permalink | Email this | Comments


</img> </img>


More...
cellphoner is offline  
Digg this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 10:37 AM.

Design By: TransverseGFX
Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 copyright phonetweaks.com 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72