Issue
Hi I work with fedora 17 and I want to create zip file
There are four files in my directory /tmp/manager/
sos.prj
sos.shp
sos.shx
sbb.shh
I want to create zip file from sos.prj,sos.shp,sos.shx files
I want to use grep
. In other words, I want to create zip file from grep's result
Can anybody help me?
Solution
zip myArchiveName *.{prj,shp,shx}
This will zip all files with your extensions listed into a zip file named myArchiveName.zip
Answered By - Impossibear Answer Checked By - Willingham (WPSolving Volunteer)