Monday, March 16, 2020

Re: Making a tarball

>
> To make (or unpack) a tarball in general: at the shell prompt
> man tar
>

Just to amplify that a bit, with $ representing the shell prompt:

to create a tarball:
$ tar -cvzf name_of_archive_to_create directory_to_send

That will show you the files in "directory_to_send" being wrapped up. If
it's only one file at a time, just give the filename. Use a relative path,
not an absolute one, so you can restore anywhere you want.

To unpack, cd into the directory you want to use, and execute
$ tar -xzvf name_of_archive_to create

If you don't want to see all the filenames, omit the "v" option. The "f"
option must be the last thing before the filename.

HTH.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/4ebbdc3e4398badfa118e301548b7d88.squirrel%40mail.vybenetworks.com.

No comments:

Post a Comment