Win a copy of Bioshelter Market Garden this week in the Market Garden forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
permaculture forums growies critters building homesteading energy monies kitchen purity ungarbage community wilderness fiber arts art permaculture artisans regional education experiences global resources the cider press projects digital market permies.com private forums all forums
this forum made possible by our volunteer staff, including ...
master stewards:
  • James Freyr
  • Nicole Alderman
  • Anne Miller
  • r ranson
  • Mike Jay Haasl
  • Dave Burton
  • Pearl Sutton
stewards:
  • paul wheaton
  • Joylynn Hardesty
  • Joseph Lofthouse
garden masters:
  • Steve Thorn
gardeners:
  • Dan Boone
  • Carla Burke
  • Kate Downham

anyone know how to zip a file without the hidden files on a mac?

 
steward
Posts: 3997
Location: Montana
344
fungi books food preservation bee
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
having some problems today.. I just want to zip a folder that has like 18 mp3 files in it and when I do, it includes a folder _MACOSX apart from the folder I was trying to zip, and then in the folder I was trying to zip, there hides .DS_Store.. I don't want that. I just want my mp3 files in one folder! That's it!

Can someone please help?
 
steward
Posts: 1191
Location: Torrey, UT; 6,840'/2085m; 7.5" precip; 125 frost-free days
120
goat duck trees books chicken bee
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are familiar with the utility program Terminal, you can do it this way

http://stackoverflow.com/questions/10924236/mac-zip-compress-without-macosx-folder

 
Ann Torrence
steward
Posts: 1191
Location: Torrey, UT; 6,840'/2085m; 7.5" precip; 125 frost-free days
120
goat duck trees books chicken bee
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These instructions seem a little better written

http://bechster.com/zip-a-folder-on-mac-osx-without-the-pesky-ds_store-files/
 
Cassie Langstraat
steward
Posts: 3997
Location: Montana
344
fungi books food preservation bee
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, see the thing is is I already tried that and although I am not super familiar with terminal, I did exactly what that told me to, and when I typed in cd [myfilesname] it says "no such file or directory" which is a LIE. Haha I mean I know the folder is on my computer, so I just don't know why it isn't finding it.
 
Ann Torrence
steward
Posts: 1191
Location: Torrey, UT; 6,840'/2085m; 7.5" precip; 125 frost-free days
120
goat duck trees books chicken bee
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ah yes, finding the file in the directory... try [ur=http://lifehacker.com/eight-terminal-utilities-every-os-x-command-line-user-s-1593793109l]mdfind[/url]

capitalization and spaces count. Sorry.
 
Cassie Langstraat
steward
Posts: 3997
Location: Montana
344
fungi books food preservation bee
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay so I tried mdfind and it found the folder, but now I don't really know what to do. It found it and listed it and then listed all of the contents in it below it. So then I tried the thing from the first article you sent me.

zip -r bar.zip bar -x "*.DS_Store"

But that just came up with a bunch of warning signs like this

"zip warning: name not matched: Mass"

Ugh.. Do you know what I am doing wrong?
 
Cassie Langstraat
steward
Posts: 3997
Location: Montana
344
fungi books food preservation bee
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just found this: http://www.switchingtomac.com/tutorials/general-software/create-zip-files-without-any-mac-specific-extras-inside/

I tried it and just need to send it to someone who doesn't have a mac to see if it worked!
 
Ann Torrence
steward
Posts: 1191
Location: Torrey, UT; 6,840'/2085m; 7.5" precip; 125 frost-free days
120
goat duck trees books chicken bee
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
+1 for persistence.

Sorry, I'd gladly receive your file but all our computers are Macs. Geeky, I know. But yay you go girl.
 
pollinator
Posts: 2416
Location: Massachusetts, Zone:6/7, AHS:4, Rainfall:48in even Soil:SandyLoam pH6 Flat
153
forest garden solar
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dont use select all but instead individually select each file (CTRL + click on windows) then hit send to zip file/archive that normally leaves out all the hidden files.
 
steward
Posts: 1390
Location: Northwest Montana from Zone 3a to 4b (multiple properties)
212
hugelkultur forest garden hunting books chicken wofati
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good job on finding a solution, did you find someone who uses a non-Mac PC to test it with? Hopefully it worked. If not you could send it my way. I'm in foreign lands and bored for the weekend.
 
Cassie Langstraat
steward
Posts: 3997
Location: Montana
344
fungi books food preservation bee
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adrien said there are no hidden files! Hooray! It worked!
 
machines help you to do more, but experience less. Experience this tiny ad:
Food Forest Card Game - Game Forum
https://permies.com/t/61704/Food-Forest-Card-Game-Game
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!