I have created a shell script (.sh) to extract a tar file. Below is the code:
tar -xvwf 1.0.1.tar
But when the script runs and start to extracting the tar, it asks confirmation in each file extract.
extract `1.0.1'?
How can I avoid that in my script? I’m running on Linux.
Just
tar xvf 1.0.1.tarshould do the trick; the-woptions means “ask for confirmation for every action” (tar(1)).