Menu

compress multiple file types including in subdirectories on the command line?

favna
2018-11-30
2018-11-30
  • favna

    favna - 2018-11-30

    How do I compress multiple specific file extensions on the command line? (including in subdirectories)

     
  • Shell

    Shell - 2018-11-30

    Two ways: 7z params -r arcname *.ext1 *.ext2 or 7z params -ir!*.ext1 -ir!*.ext2 arcname. Refer to the help for the -r switch.

     

Log in to post a comment.