如何.tar在Win10中从当前目录树创建一个?尝试tar -c Archive.tar *并得到tar: Failed to open '\\.\tape0'。
C:\>tar -h
tar(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 -c [options] [<file> | <dir> | @<archive> | -C <dir> ]
<file>, <dir> add these items to archive
-z, …Run Code Online (Sandbox Code Playgroud)