Syntax for tar command

tar samples

Disclaimer: Apply to a TEST environment first. Use on production systems is at DBAs own risk.


tar cvf tar_support *2006-07-31_*

  • This will tar all files within the current directory, where their name includes string 2006-07-31_ into a tar file named tar_support


tar cvf tar_file25 http

  • This will tar all files in directory http into a file named tar_file25


tar -xvf hpx32_8174_release_patchset.tar

  • This will extract ( untar ) the content of the tar file hpx32_8174_release_patchset.tar

into the current directory.

Latest Blog Items


Thank you for your interest in idbasolutions.

Contact us using this email: