dar --version (return code: 0)
dar version 2.5.11, Copyright (C) 2002-2052 Denis Corbin
Long options support : YES
Using libdar 5.11.0 built with compilation time options:
Libz compression (gzip) : YES
Libbz2 compression (bzip2) : YES
Liblzo2 compression (lzo) : YES
Liblzma compression (xz) : NO
Strong encryption (libgcrypt): YES
Public key ciphers (gpgme) : YES
Extended Attributes support : YES
Large files support (> 2GB) : YES
ext2fs NODUMP flag support : YES
Special allocation scheme : NO
Integer size used : 64 bits
Thread safe support : YES
Furtive read mode support : YES
Linux ext2/3/4 FSA support : YES
Mac OS X HFS+ FSA support : NO
Detected system/CPU endian : little
Posix fadvise support : YES
Large dir. speed optimi. : YES
Timestamp read accuracy : 1 microsecond
Timestamp write accuracy : 1 microsecond
Restores dates of symlinks : YES
compiled the Jun 25 2017 with GNUC version 6.3.0 20170618
dar is part of the Disk ARchive suite (Release 2.5.11)
dar comes with ABSOLUTELY NO WARRANTY; for details
type `dar -W'. This is free software, and you are welcome
to redistribute it under certain conditions; type `dar -L | more'
for details.
dar --help (return code: 0)
usage: dar [ -c | -x | -d | -t | -l | -C | -+ ] [<path>/]<basename> [options...]
dar -h
dar -V
Commands are:
-c creates an archive
-x extracts files from the archive
-d compares the archive with the existing filesystem
-t tests the archive integrity
-l lists the contents of the archive
-C isolates the catalogue from an archive
-+ merge two archives / create a sub archive
-h displays this help information
-V displays version information
Common options:
-v verbose output
-q suppress final statistics report
-vs display skipped files
-R <path> filesystem root directory (current dir by default)
-X <mask> files to exclude from the operation (none by default)
-I <mask> files to include in the operation (all by default)
-P <path> subdirectory to exclude from the operation
-g <path> subdirectory to include in the operation
-[ <filename> filename contains a list of files to include
-] <path> filename contains a list of files to exclude
-n don't overwrite files
-w don't warn before overwriting files
-wa don't warn before overwriting and removing files
-b ring the terminal bell when user action is required
-O[ignore-owner | mtime | inode-type] do not consider user and group
ownership
-H [N] ignore shift in dates of an exact number of hours
-E <string> command to execute between slices
-F <string> same as -E but for the archive of reference
-u <mask> mask to ignore certain EA
-U <mask> mask to allow certain EA
-K <string> use <string> as key to encrypt/decrypt
-J <string> same as -K but it does concern the archive of reference
-# <integer> encryption block size
-* <integer> same as -# but for archive of reference
-B <filename> read options from given file
-N do not read ~/.darrc nor /etc/darrc configuration file
-e dry run, fake execution, nothing is produced
-Q suppress the initial warning when not launched from a tty
-aa do not try to preserve atime of file open for reading.
-ac do not try to preserve ctime (default behavior).
-am set ordered mode for all filters
-an the masks that follow are now case insensitive
-acase the masks that follow are now case sensitive
-ar set the following masks to be regex expressions
-ag set the following masks to be glob expressions
Saving / Isolation / merging options (to use with -c, -C or -+):
-A [path/]<basename> archive to take as reference
-@ [path/]<basename> auxiliary archive of reference for merging
-$ <string> encryption key for auxiliary archive
-~ <string> command between slices of the auxiliary archive
-z [[algo:]level] compress data in archive. -z = -z9 = -zgzip:9
Available algo: gzip,bzip2,lzo,xz. Exemples: -zlzo -zxz:5 -z1 -z
-s <integer> split the archive in several files of size <integer>
-S <integer> first file size (if different from following ones)
-aSI slice size suffixes k, M, T, G, etc. are power of 10
-abinary slice size suffixes k, M, T, G, etc. are power of 2
-p pauses before writing to a new file
-D excluded directories are stored as empty directories
-Z <mask> do not compress the matching filenames
-Y <mask> do only compress the matching filenames
-m <number> do not compress file smaller than <number>
--nodump do not backup, files having the nodump 'd' flag set
-@ [path/]<basename> Do on-fly catalogue isolation of the resulting archive
-M stay in the same filesystem while scanning directories
-, ignore directories that follow the Directory Tagging
Standard
-/ <string> which way dar can overwrite files at archive merging or
extraction time
-^ <string> permission[:user[:group]] of created slices
Restoring options (to use with -x) :
-k do not remove files destroyed since the reference backup
-r do not restore file older than those on filesystem
-f do not restore directory structure
Reading options (to use with -x, -d, -t, -l, -A)
-i <named pipe> pipe to use instead of std input to read data from dar_slave
-o <named pipe> pipe to use instead of std output to orders dar_slave
Listing options (to use with -l):
-T tree output format
-as only list files saved in the archive
Type "man dar" for more details and for all other available options.