Different compressions methods in the same command line?

Help
Andy_Scull
2013-09-26
2013-09-26
  • Andy_Scull
    Andy_Scull
    2013-09-26

    Sorry if this was discussed before, my google-fu wasn't strong enough... or rather I couldn't
    The question is - is it possible to add some command line options to make exceptions in compression algorithm for specific file types (-mx0 for .7z, .rar, .zip etc). All other files should be compressed normally as set by 'global' -m option in the same command.
    p.s. Note: I am specifically asking about doing it with ONE SINGLE command. I already know I can compress everything except archives and then run 7z second time compressing archives only with -mx0.