rar a -r -ep -x*.meta e_archive.rar c:\test\*.*
compresses all new or updated files from c:\test and its subfolders to e_archive.rar, deletes the files after they are added to the archive, and excludes any files with a „meta“ extension,
„a“ command adds to the archive
„-r“ switch. Recurses subfolders
„-ep“ switch. Adds files to the archive without including the path information. Multiple can exist in the archive with the same name.
„-u“ switch. Equivalent to the „u“ command when combined with the „a“ command. Adds new files and updates older versions of the files already in the archive
„-df“ switch. Deletes files after they are moved to the archive
„-x“ switch. Excludes the specified file(s) from the operation