[root@localhost ~]# tar -zc -f/root/system.tar.gz --exclude=/root/etc* --exclude=/root/system.tar.bz2 /etc/roottar: Removing leading `/' from member names tar: /root/system.tar.gz: file changed aswe read it [root@localhost ~]# ll system* -rw-r--r--. 1 root root 18985797...
Main operation mode: -A, --catenate, --concatenate append tar files to an archive -c, --create create a new archive -d, --diff, --compare find differences between archive and file system --delete delete from the archive (not on mag tapes!) -r, --append append files to the end of...
--newer-mtime=DATE compare date and time when data changed only --no-recursion avoid descending automatically in directories --no-unquote do not unquote filenames read with -T --null -T reads null-terminated names, disable -C -N, --newer=DATE-OR-FILE, --after-date=DATE-OR-FILE only ...
reblock as we read (for 4.2BSD pipes)--backup backup before removal, choose version CONTROL -C, --directory DIR change to directory DIR --check-device check device numbers when creating incremental archives (default)--no-check-device do not check device numbers when creating incremental ...
NAME in the archive--newer-mtime=DATE compare date and time when data changed only--no-null disable the effect of the previous --null option--no-recursion avoid descending automatically in directories--no-unquote do not unquote filenames read with -T--null -T reads null-terminated names, ...
file=MEMBER-NAME begin at member MEMBER-NAME in the archive --newer-mtime=DATE compare date and time when data changed only --no-null disable the effect of the previous --null option --no-recursion avoid descending automatically in directories --no-unquote do not unquote filenames read ...
-U, --unlink-first remove each file prior to extracting over it -W, --verify attempt to verify the archive after writing it Select output stream: --ignore-command-error ignore exit codes of children --no-ignore-command-error treat non-zero exit codes of children as ...
-U, --unlink-first remove each file prior to extracting over it -W, --verify attempt to verify the archive after writing it Select output stream: --ignore-command-error ignore exit codes of children --no-ignore-command-error treat non-zero exit codes of children as ...
-U, --unlink-first remove each file prior to extracting over it -W, --verify attempt to verify the archive after writing it Select output stream: --ignore-command-error ignore exit codes of children --no-ignore-command-error treat non-zero exit codes of children as ...