Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I normally (on Windows) package up a directory into a single file with Pkzip 2.5,

pkzip25 -add -dir ...

which recursively includes subdirectories and their contents. A problem I've encountered is when subdirectories begin with a dot, e.g. .settings directory created by Eclipse; Pkzip doesn't go into those directories. I can't find anything about this in the help text or on Google; is there a way to fix this behavior?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

According to the pkzip 2.5 manual, pkzip considers as hidden all names that start with a dot.

Try to add the parameter "-filetype=all", in order to process files with all file types (includes hidden).

share|improve this answer
    
It seems that parameter is only available on UNIX. –  rwallace Nov 2 '09 at 14:43
    
Ah, so you're on Windows. It would be a nice catch-22 if the dot-behavior was carried over from Linux, but not its antidote! In that case, there are many other zip products (like 7-Zip) which are much newer and more efficient. –  harrymc Nov 2 '09 at 16:04
    
Quite so! Yeah, I've now tested 7zip on the same scenario and it works correctly, so I'll probably start using it for this purpose. –  rwallace Nov 2 '09 at 17:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.