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