As part of trying to do more things from the command line here’s a handy command for zipping files by type on MacOS from the command line.
find . -name "*.jpg" -print | zip source -@
You can find this an other commands from the zip man page.
A blog about creating valuable software
October 17, 2010
unix command line, hacks, macos, productivity, unix, zip Leave a comment
As part of trying to do more things from the command line here’s a handy command for zipping files by type on MacOS from the command line.
find . -name "*.jpg" -print | zip source -@
You can find this an other commands from the zip man page.
Leave a Reply