Quantcast
Channel: How to zip a file named "-" - Super User
Browsing latest articles
Browse All 4 View Live

Answer by IProblemFactory for How to zip a file named "-"

On my Uni profesor said when we have strange name of file we should use all path to file ;) example:~/-/home/mariusz/Desktop/-

View Article



Answer by Matthew Scharley for How to zip a file named "-"

@knittl's answer should work, but I think the more correct answer is:zip ... -- -Where the plain -- says that the rest of the input is filenames. Most linux commands support this, but I'm not sure off...

View Article

Answer by knittl for How to zip a file named "-"

use zip ./-- means: read from stdin (standard input)

View Article

How to zip a file named "-"

I can unzip a zip file contains a file named "-"But it seems that "-" is a magic char in zip command...How could I zip this file with zip command?

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images