I have a
tar.gz file from which I have to extract only the files in current directory without creating the whole structure.
tar.gz contains below files,
/u01/app/oracle/file1 .. .. /u01/app/oracle/file10 /u01/testdata/file1 .. .. /u01/testdata/file5
tar.gz is present in
/u02. So when extracting I want
file10 coming under
/u02 instead, the whole directory structure is getting created under