Showing Posts From
Linux
-
Sukhi Singh - 05 Aug, 2015
Untar/Unzip Multiple Files in One Command
Hola! Ungzipping all files in one line: # For *.gz find -name '*.gz' -exec tar xzv '{}' ';'# For *.tar.gz find -name '*.tar.gz' -exec tar xzvf '{}' ';'It uses all the files that find outputs and sends them to tar. The same can be applied to any other archive format, just change the respective parameters.