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.

Oracle Solaris 10 9/10 SPARC

I'm trying to archive and compress a large directory using zip

zip dir dir

in this directory are some files with a dollarsign like name$whatever. Zip skips those files with an error message

 name not matched.

Is there a way to prevent this and have those file included? It's not a problem if the dollar is renamed to some unique string and converted back later.

share|improve this question
3  
Which OS are you using? –  ahmed Jul 19 '12 at 12:33
    
sorry should have been first, updated question. –  dr jerry Jul 20 '12 at 10:01
    
Did you try zip -r (for recursion)? –  jftuga Jul 20 '12 at 12:22
    
yes I also tried -r. It works with tar and then gzip. –  dr jerry Jul 21 '12 at 16:30
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.