I am trying to compress a couple of text files to bzip2 format using command line. Here is the format of command I am running:
7z a -tbzip2 -r "C:\Users\ABC\Desktop\TestS\test.bzip2" *.txt "C:\Users\ABC\Desktop\TestS"
There are no sub folders inside this folder. The error I am getting is : System Error: The Parameter is incorrect.
When I am running the similar command for another format, its running fine. 7z a -tzip -r "C:\Users\ABC\Desktop\TestS\test.bzip2" *.txt "C:\Users\ABC\Desktop\TestS"
Can someone please help me here with finding a correct command line syntax for bzip2?
Thanks a lot!