I am on CentOS server. I have to download a .tbz file every day which is of 3GB in size and then i have to extract it and use inner files for further process.
There are 48 files in the .tbz extracted folder and i have to use only one file from it. After extraction size of the folder is approx. 25 GB because of which disk space of server get exhausted.
tar -xjf /var/www/html/folder1/folder2/folder3/price.tbz total_price
tar xjf /var/www/html/folder1/folder2/folder3/price.tbz total_price -C /var/www/html/folder1/folder2/folder3/
tar -xjf /var/www/html/folder1/folder2/folder3/price.tbz --wildcards --no-anchored 'total_price*'
where total_price is the name of the file inside it. But above command says :
tar: total_price: Not found in archive tar: Error exit delayed from previous errors
Any idea what i am missing?