Home
> Uncategorized > Unzip all zip files into current directory on linux using find
Unzip all zip files into current directory on linux using find
I needed a quick and dirty command to unzip all the .zip files in the current working directory on my redhat box and this was it!
find *.zip -exec unzip {} \;
Enjoy 😀
EDIT: Same but for rar files, auto renames the files if they exist and uses rar name as the directory:
find *.rar -exec unrar e -ad -or {} \;
Categories: Uncategorized
linux unzip find
Comments (0)
Trackbacks (0)
Leave a comment
Trackback