I guess he needs to archive multiple files in different archives, splitted.
If thats the case, then you need a FOR loop to run the same command on multiple files. Lets say you have all the files in a directory, the FOR loop would look like this
Code:
for f in $(ls /path/to/your/files)
do
[B]rarname=${f%.*}[/B]
rar a -v100m rarname f
done
This way, your archives will also have the same name as the file you are raring.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.