Linux ??????? Tar?? ?????? ???????????? ??????? tar ? Ubuntu, ????? ??????? .
tar.gz ??? .tgz ???????? ?????. ??? ?????? ?????? ???????? ‘tarballs’ ??? . Tar is a Unix Archive file format. It is designed primarily for Unix computers, but now many software including Windows software could work with Tar archives. You can find the command included in Ubuntu.
It has a lot of options, but you just need to learn a few of them to create archives and extract files. You can create archives using gzip or bzip2 compression. ??? ?????????????? ????? ? ??????? Tar?????? ?????????????? ????? ??? ????? ?? Ubuntu ??? Linux, ?? ?????? ???????????? ????????? ???????. ?????? ??????? ????? ?????????? ??? ?????????? ?????? ??????????, ??????? ?? ???????.tar -czvf archive-name.tar.gz /path/directory-or-file????? ??????? ?????????:-c: ??????? ?????.
-z: ?????????????? ????? ????????? ???????? gzip. -v: ?????????? ???????? ? ????????? ?? ????? ???????? ?????? (??? ?????????? ????? “verbose”). -f: ????????? ??????? ??? ??????.??? ???????????? ????? ?????? ??? ?????????? ? ??????? ??????? Tar??? ????? ?????? ?????????????? ?????????????? ????? ??? ????? ????? ???????????? ?????? ?????? ??? ?????.
tar -czvf archive-name.tar.gz /path/directory-or-file-1 /path/directory-or-file-2 /path/directory-or-file-3??? ????????? ?????????? ??? ????? ?? ?????? Tar?????? ?????????????? ?????????? ?????????, ?? ????????? ??? ???? ????????? ????? ??? ??????????, ??????????? ????? –exclude.tar -czvf archive-name.tar.gz /path/directory-or-file –exclude=/path/directory-or-file-exclude??? ??????? Tar ?????, ????????? ???????? bzip2????????? Gzip ???????????? ???? ??? Tar ?????????, ?? ?????? ????? ??????????? ???????? bzip. ????? ??????? ?????, ????????? ???? ????????, ??????????? ? ????????? ?????? ????? -j ??? bzip2, ?????? ????? -z, ??????? ???????????? ??? gzip .
???????? gzip ???????, ?? bzip2 ????? ???????????? ????? ?????, ? ?????????? ???? ?????????? ?????? ???????? ???????, ???? ? ???????? ????????.tar -cjvf archive-name.tar.gz /path/directory-or-file??? ??????????? ?????? ?????? ? ?????? Tar???? ????, ????? ??????????? ?????????? ??????, ????? ???????????? ????? -t.tar -ztvf archive-name.
tar.gz??? ??????????????? ????? ?? ?????? Tar???????????????? ????? ?? ?????? ????? ? ??????? ????? -x:tar -xzvf archive-name.tar.
gz????? ??? ?????? ????????? ??????:-x: ??????????????? ?????. -z: ???????????? ???????? gzip. -v: ?????????? ???????? ? ????????? ?? ????? ???????????????? (??? ?????????? ????? “verbose”). -f: ????????? ??????? ??? ??????.????? ??????? ???????????? ??????????, ???? ?? ?????? ??????????????? ?????????? ??????. ??? ????? ???????????? ????? -C, ??????? ??????????? ? ????? ????????? ?????? ? ????????? ????? ??????????:tar -xzvf archive-name.tar.gz -c /path/directory