tar

bsdtar archive tool

bsdtar archive tool


tar

  • C:\Windows\system32\tar.exe –help

Output:

tar.exe(bsdtar): manipulate archive files
First option must be a mode specifier:
  -c Create  -r Add/Replace  -t List  -u Update  -x Extract
Common Options:
  -b #  Use # 512-byte records per I/O block
  -f <filename>  Location of archive (default \\.\tape0)
  -v    Verbose
  -w    Interactive
Create: tar.exe -c [options] [<file> | <dir> | @<archive> | -C <dir> ]
  <file>, <dir>  add these items to archive
  -z, -j, -J, --lzma  Compress archive with gzip/bzip2/xz/lzma
  --format {ustar|pax|cpio|shar}  Select archive format
  --exclude <pattern>  Skip files that match pattern
  -C <dir>  Change to <dir> before processing remaining files
  @<archive>  Add entries from <archive> to output
List: tar.exe -t [options] [<patterns>]
  <patterns>  If specified, list only entries that match
Extract: tar.exe -x [options] [<patterns>]
  <patterns>  If specified, extract only entries that match
  -k    Keep (don't overwrite) existing files
  -m    Don't restore modification times
  -O    Write entries to stdout, don't restore to disk
  -p    Restore permissions (including ACLs, owner, file flags)
bsdtar 3.5.2 - libarchive 3.5.2 zlib/1.2.5.f-ipp

Return Code: 0


C:\Windows\system32\tar.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size54784bytes
Creation Time2022/07/08 08:48:47
LastWrite Time2022/07/08 08:48:47
ProductVersion10.0.19041.1466
FileVersion3.5.2 (WinBuild.160101.0800)
HashValue
MD53596dc15b6f6cbbb6ec8b143cbd57f24
SHA185e26657ee03797fc6a5737d2eb523164de77090
SHA2249fc6b22dc86f56d567da8e8c5cf3fc0124f9fbdeca371ec0def40fa3
SHA256d257c269770081624f7d0c43ec854135c09a6276aa33a247ce062d781e719316
SHA384a85934800abaca5262c33d07951df753e1794599fc8f0065b076f60c78440d50b79f19883d1af86043557f6eb298f9ae
SHA512c0e8a6293617bbc6ddb540ac0e76f72d475d9ed621cab9c85cd885223da24fdd94aafab128936125bd696a18504bff688e8c74c5f8796d99410fbff2ee7d5f56
Built with Hugo
Theme Stack designed by Jimmy