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 Location of archive (default /dev/st0) -v Verbose -w Interactive Create: bsdtar -c [options] [ | | @ | -C ] , 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 Skip files that match pattern --mtime Set modification times for added files --clamp-mtime Only set modification times for files newer than --mtime -C Change to before processing remaining files @ Add entries from to output List: bsdtar -t [options] [] If specified, list only entries that match Extract: bsdtar -x [options] [] 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.8.11 - libarchive 3.8.11 zlib/1.3.2.1-motley liblzma/5.8.4 bz2lib/1.0.8 liblz4/1.11.0 libzstd/1.5.7 expat/expat_2.10.0 openssl/4.0.3 libb2/bundled libacl/2.4.0