TechExhibeo

bash multiple zip of folder

Jul 8th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.04 KB | None | 0 0
  1. for i in */; do zip -r "${i%/}.zip" "$i"; done
Add Comment
Please, Sign In to add comment