Tagged Questions
1
vote
1answer
90 views
How can I zip the contents of current directory minus all hidden files?
How can I zip up the contents (excluding hidden files and folders) of the folder I am currently in?
zip -r extension.xpi . -x "*/.*"
This is what I have so far, but I am still getting hidden files.
...
0
votes
2answers
2k views
Zip all files in directory?
Is there a way to zip all files in a given directory with the zip command? I've heard of using *.*, but I want it to work for extensionless files, too.
2
votes
2answers
94 views
Zipping files two by two
I have a directory that has 800 files like this:
file1.png
file1@2x.png
file2.png
file2@2x.png
file3.png
file3@2x.png
... etc
I need to create zip files like this
file1.zip (containing ...
2
votes
1answer
163 views
unzip two different kind of file extensions
Note here, .zip and .jar is just an example, my file extensions are different. Suppose I have a directory which can contain number of zip files
a.zip b.zip c.zip
AND/OR
z.jar x.jar y.jar
along ...
4
votes
3answers
302 views
How can I list all *.doc files in a Zip archive, including files in subdirectories?
I have Zip files, that might look like this:
$ zipinfo -1 zip.zip
doc.doc
dotx.dotx
xls.xls
ppt.ppt
txt.txt
c.c
subdir/subdir2/doc.doc
subdir/xls.xls
subdir/ppt.ppt
subdir/c.c
subdir/txt.txt
...