xFilthyxJesusx Posted March 5, 2007 Share Posted March 5, 2007 Is there anyway to exclude certain file types or only allow certain file types? Because i don't want to uload video files at all. They take up way too much space. Would I have to tweak the raring program command line in the send? or is it a usb dumper mod? I found this in the RAR Manual. -x<f> Exclude specified file <f>, wildcards may be used both in the name and file parts of file mask. You may specify the switch '-x' several times. If mask contains wildcards, it applies to current directory and its subdirectories. It is not recursive without wildcards, so if you wish to exclude some "filename" in all directories, you need to specify two masks: "filename" for current directory and "*filename" for subdirectories. If you know an exact path to file, you can use "pathfilename" syntax to exclude only this copy of "filename". If you use -xpathfilename syntax when unpacking an archive, "path" must be a path inside of archive, not a file path on the disk after unpacking. Examples: 1) rar a -r -x*.bak -x*.rar rawfiles *.bak and *.rar files will not be added to rawfiles 2) rar a -r -x*temp -x*temp* savec c:* compress all files on the disk c: except temp directories and files inside of temp directories 3) rar x -x*.txt docs extract all files except *.txt from docs.rar -x@<lf> Exclude files using the specified list file. If you use -x@ without the list file name parameter, it will read file names from stdin. Example: rar a -x@exlist.txt arch *.exe Does anyone know which would be a better choice to use? Would this line work? rar a -x*.wmv -x*.avi -x*.mpeg -x*.mpg -x*.asf -x*.mov -x*.vob goodies.rar .docs -v8192k -vn Quote Link to comment Share on other sites More sharing options...
remkow Posted March 5, 2007 Share Posted March 5, 2007 Why don't you first copy all files except for movie files, and then rar them? Quote Link to comment Share on other sites More sharing options...
xFilthyxJesusx Posted March 5, 2007 Author Share Posted March 5, 2007 This line of code works. But if you know how to do that I'd really like to know how. But I don't know how to mod the sbs code. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.