Very good, Macdafydd - your two line solution will work for any directory structure - mine assumed all the content files were in .DS_STORE (Where did that come from?). And the reason the * doesn't re-add the mimetype file is that the default action is to 'freshen' an archive - add new files and update changed files - not to copy in all files.
the 'q' simply runs quietly, which is useful if this is done in a script, but normally I like to see what is happening
So, thank you for posting your final solution. - K coming your way
|