Zsh script to recursively unrar into a folder with the same name
0
votes
1
answer
259
views
Is it possible to use a zsh script to unrar all directories within another directory?
As follows:
dir
|_dir1.rar
|_dir2.rar
|_dir3.rar
I would like the command not to include the cd. I will cd into the folder before executing the zsh script. The script should extract all .rar directories into the same folder with the same original directory name. For example dir1.rar should extract to dir1 and so on.
Hope this can be done.
Asked by linuxuser24569
(13 rep)
Mar 24, 2023, 01:05 AM
Last activity: Mar 24, 2023, 01:08 AM
Last activity: Mar 24, 2023, 01:08 AM