.Dd Created:$Mdocdate$ .Dt ohazot_tar .Tg back_to_top .Bd -literal -compact _ _ ___ | |__ __ _ _______ | |_ / _ \\| '_ \\ / _` |_ / _ \\| __| | (_) | | | | (_| |/ / (_) | |_ \\___/|_| |_|\\__,_/___\\___/ \\__| .Ed .Tg menu .Bl -column ".Sy ohazot " ".Sy ohazot " ".Sy ohazot " .It Xr ohazot oh Ta | .Xr docs oh Ta | .Xr about oh Ta .El .Dd Created:2025-10-03|Updated:2025-10-06 .Dt ohazot_tar .Os OpenBSD linux .Nm tar .Nd archive tool: usage .Sh SYNOPSIS .Sx back_to_top .Dl tar -zvcf TAR_FILE DIRECTORY .Dl tar -zvcf TAR_FILE DIRECTORY/* .Dl tar -zvxd TAR_FILE .Sh OPTIONS .Sx back_to_top .Bl -column ".Sy -o" .It -c Ta : compress .It -x Ta : extract .It -v Ta : verbose .It -f Ta : file, needs the file as an argument. Eg.: -f filename .It -z Ta : use gzip compression .It -j Ta : use bzip2 compression .It -t Ta : list archive contents .El The options can be collapsed but f needs to be the last option. Eg.: .Dl tar -zvxf tar_file .Sh SEE ALSO .Sx back_to_top .Xr tar 1 .Ss files .In tar.oh .Sh AUTHORS .Sx back_to_top .An -nosplit .Xr ohazot oh | .Xr about oh | .Lk https://ohazot.com ohazot.com .Aq Mt admin@ohazot.com