Help with winrar - adding multiple files into separate archives
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Help with winrar - adding multiple files into separate archives
hi there i have a unix server (FC4) and have winrar comand line on there and i have a folder of files i need to add to there own .rar file but cant fine out how
target=/folder/to/store/archives_in; find /some/folder/name -type f | while read f; do
rar a "$target/$(basename "$f").rar" "$f" && echo "Archived "$f"."; done
* Note you should make your own thread if your questions do not help fix the OP's problem.
It helps you get better exposure for your questions and prevents possible thread hijacks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.