Editing
Tar
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
go to [[Main Page]], [[Computational Resources]], [[Information & Help]], [[Linux & Unix]] tar is both a file format and the name of a program used to handle such files. Initially developed to be written directly to sequential I/O devices for tape backup purposes, it is now commonly used to collect many files into one larger file, for distribution or archiving, while preserving file system information such as user and group permissions, dates, and directory structures. * To create a tar: '''tar -cvf file.tar file1 file2 file3''' That will create a tar called file.tar containing in a single file the files: file1 file2 file3 The command tar -cvzf file.tar.gz file1 file2 file3, will create the file file.tar.gz, that is the same tar as above file.tar with the three files, but it will compress it with gzip. * To get the files from a tar: '''tar -xvf file.tar''' This will unpack the file, and the files contained in it will be extracted. For compressed '''.tar.gz''' files: tar -xzvf files.tar.gz should be used, for '''.tarz''': tar xfvz file.tarz file
Summary:
Please note that all contributions to Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information