tar

tar #

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.3.2 - libarchive 3.3.2 zlib/1.2.5.f-ipp

リターンコード: 0

>ver
Microsoft Windows [Version 10.0.19044.1288]
C:\Windows\system32\tar.exe
ファイル情報
サイズ53248bytes
作成日2019/12/07 18:09:34
更新日2019/12/07 18:09:34
ProductVersion10.0.19041.1
FileVersion3.3.2 (WinBuild.160101.0800)
HashValue
MD54d188b08e9274e1360062b22e88a2f3f
SHA1f93374196f5f6e19b370cddd9332ac248937e5ef
SHA22480fbaba1c9be02316be29ff29cb731c9f380e94d8e678efa581c081c
SHA2560f28c8d166c7a671b0048137232e9ca6973f1ec826104834ae310681c1866e62
SHA384fe40a7b2e90581e231295f445f6db120ea30cb4fa05a42bc0eb120e28a3f269db1f711efc87ab89c6da93348ee90872b
SHA5125b0d1d2f0e48fb3b250891163c2f1e935663b6865483180edd1167b8f3269508977893e3faf905d0676ef0a5cbfdd3486a66d3d521643d68dda7e55528337207