Timeline for How to unrar nested RAR files?
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 21, 2019 at 21:18 | answer | added | icarus | timeline score: 1 | |
| Oct 20, 2019 at 15:27 | comment | added | Viktor | Well, recursively search current and subdirectories for any files that match *.rar, But maybe I need to add find to the equation and exec unrar on each result. Having problem with getting the destination of extracted files to work though. As you said, I need that to not unrar the same files again. | |
| Oct 20, 2019 at 15:08 | comment | added | icarus | What do you expect the -r to do? | |
| Oct 20, 2019 at 14:00 | comment | added | Viktor | @icarus Hm, apparently the -r option does not seem to work for me, I thought it did. I only find and extract top-level RAR files. | |
| Oct 19, 2019 at 15:31 | comment | added | icarus | This handles the case where there are no rar files inside the original rar files. The set -- *.rar sets $1 to the first rar file, $2 to the second and so on. If there are none then it sets $1 to the string *.rar. The [ -e "$1" ] tests to see if $1 exists, and the && says "run the thing on the left and if it works then run the thing on the right". | |
| Oct 19, 2019 at 14:21 | comment | added | Viktor | @icarus I saw your edit, would you care to explain what set -- *.rar and [ -e "$1" ] does do exactly? | |
| Oct 19, 2019 at 12:00 | history | tweeted | twitter.com/StackUnix/status/1185526168876920832 | ||
| Oct 19, 2019 at 2:27 | history | edited | icarus | CC BY-SA 4.0 | Allow for the possibility that there are no rar files inside the rar files. |
| Oct 19, 2019 at 2:00 | history | edited | Viktor | CC BY-SA 4.0 | added 141 characters in body |
| Oct 19, 2019 at 1:25 | comment | added | Viktor | I think I do not, and I had not thought about that. Will definitely give it a try tomorrow if nothing else. Thank you! | |
| Oct 19, 2019 at 1:15 | comment | added | icarus | Do you need to extract to the current directory? If not then make a new directory and change into it, extract the original rar files. extract from any rar files. 5 lines. | |
| Oct 19, 2019 at 0:45 | history | asked | Viktor | CC BY-SA 4.0 |