I have requirement in which a file is present in the folder_test. In that folder there is file called Test.tar.gz.20111102. Now my requirement is i have to rename this file to someother format and untar it....
folder_test
Test.tar.gz.20111102
I am using the below code to untar and rename it
mv Test.tar.gz.20111102 New.tar.gz
guzip New.tar.gz
tar -xvf New.tar
But unfortunately after the code get executed i get the result as
folder_test
New.tar
Please let me know where I am wrong...or is there any other method to achive it...
Hello, No I am did not get any error while running the un-tar command....Moreover in the screen it showing that its doing the un-tar, but the when commands execution finish it shows the the same