Reputation: 191
I have a directory with many directories inside, each have multiple bz2 files inside. How can I unzip all of them in bash using bzip2 in their own directories at once?
Upvotes: 0
Views: 73
Reputation: 2160
Try following:
find ./ -iname "*.bz2" -exec bzip2 -d {} \;
Upvotes: 1