rar

RAR command line - Exclude all directories


I have the following structure :

FOLDER :

I would like to create an archive with the files in the root only (excluding all subfolder nevermind their name)

I tried : rar a archive.rar FOLDER and rar a -r- archive.rar FOLDER

Both case, the archive is empty


Solution

  • By documentation it should be rar a -r archive.rar D:\path\to\FOLDER\*