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 a script:
zip -r $1 $1
And then doing
Is it possible to do this without writing any script?