cat splitFile1 splitFile2 | tar -xf -You can also add a v to your tar command to make verbose.
Mainly Spring/Java and Java JEE tips and tutorials based on what i'm working on, usually (Spring, MongoDB, Spring boot, Big Data, Cassandra etc.) or what interests me. Occasionally some gadget tips.
▼
Untar a multi-volume tar splitted file
One way to untar multi-volume tar files (splitted) is to use a combination of CAT and TAR command.
Bash - create subfolder in each folder
I recently had to add a subfolder to each folder inside a directory in a directory that had more than 100 folders it was a bit tedious to copy paste the folder inside each one of them.Thankfully this can easily done with a bash command :
cd /opt/myfolder for f in *; do mkdir "$f/myFolder"; done