I am trying to rar multiple files by using exec() in php. (using rar command line)
sample code:
exec("rar a CommandOptionsHere File.rar File.txt");
The above code is to rar a single file, how do rar multiple files at one line of code?
Volumn split is possible at later stage.
Any advice?
P/S: i want to rar multiple files, not folder.
Like this:
exec("rar a CommandOptionsHere File.rar File1.txt File2.txt");