in a linux machine :
tar -cvf FileOrDirectory.tar FileOrDirectory
# or to gzip it at the same time...
tar -czvf FileOrDirectory.tgz FileOrDirectory
tar -zxvf <tarball-file>
The usual way of copying or moving directories is to use the tar command. The resulting tar file (called a tarball) can also be compressed to save time in moving it to another system. To create a tar file for export, use a command such as: cd directory tar cvf export.tar . This will create a file called export.tar that contains all of the elements of that directory. You could also compress that tar file by: gzip export.tar Which creates an export.tar.gz file. Then, copy or move the file to another place or system. To import it: gunzip export tar if the file was compressed, then use tar to extract the contents: cd directory tar xvf export tar
tar is one of the basic commands in Unix. tar command in unix is used for achriving purpose, you can create archive, update or extract from archieve using tar command in unix.you can also create compressed archieve by combining bzip2 and gzip along with unix tar command
The 'tar' utility is not usually used to install packages; it would consist of a source package that has to be configured, compiled, and then installed. The tar file you receive usually is in a compressed format as well.The sequence of events with a tar file (sometimes called a tarball) is to do the following:Uncompress the tar file if it is compressedExtract all of the files into a directory with 'tar xvf filename'Run the ./configure command in the root directory of the package if it existsRun the 'make' command on the resultRun the 'make install' command if everything compiled and linked successfully.
You don't. The 'tar' command has nothing to do with the 'vi' editor; it creates an archive files and the vi editor modifies the content of a file.
For TAR archives, you use tar -cvf .
in a linux machine : tar -cvf FileOrDirectory.tar FileOrDirectory # or to gzip it at the same time... tar -czvf FileOrDirectory.tgz FileOrDirectory
The TAR command is Create Tape ARchives and is used by Linux and Unix. Information and explanations can be found on the linfo and computerhope websites.
The usual approach is to create a 'tar' file first of the directory and then compress the tar file. This is also safer because it leaves the original directory intact.
In linux command line : tar -zxvf /path_to_your_file/filename.tar.gz
Transfer tar files in binary mode.WARNING: some ftp clients go back to ascii mode when you enter an ls or dir command. To be safe, always use the binary command before getting a binary file.
It is a tar file file compressed using BZIP. "Bzipped-tar-file"