1
vote
1answer
3k views

Create zip of folder with same name

I want to create zip of a folder from command-line. I can do something like zip -r folder.zip folder. I want to give the zipped folder same name as the original folder. I can simulate this by writing ...
4
votes
1answer
1k views

How can I create zip file with the date in its name?

In the command-line, how can I create a zip file from a directory, whose name would be the current date? I can use zip -r name dir, but how give it the date for a name?
2
votes
1answer
6k views

How to unzip files into the current directory?

I am trying to write a bash script that will automatically unzip mp3 downloads and move them into my ~/music folder. My problem is that when I use the unzip command, it creates it's own folder ...
3
votes
1answer
440 views

How to compare zip files' contents?

Is there any tool to compare zips by content? maybe some krusader addon or command-line magic?