command
module
Version:
v0.0.0-...-a0978a8
Opens a new window with list of versions in this module.
Published: Jan 8, 2017
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
tar-append
A native Go CLI tool for appending files to the end of a tar received via stdin and sent to stdout.
Notes
- tar-append only appends files to the end of the input archive which is marked by a closed/detached STDIN
- tar-append will only append files at or below the current working directory.
- tar-append will only append a single file (the first argument to the program).
- tar-append will append files with names that already exist in the archive - this is purposeful.
- tar-append only writes the tarball to STDOUT. Error messages will be sent on STDERR.
Examples
mkdir logs
tar cf - 1.txt 2.txt | tar-append 3.txt | tar-append 4.txt | tar xf - -C ./logs
ls ./logs
# 1.txt 2.txt 3.txt 4.txt
Authors and Copyright Holders
- Jeff Nickoloff "jeff@allingeek.com"
License
This project is released under the MIT license.
Documentation
¶
Copyright 2017 Jeff Nickoloff. All rights reserved.
Use of this source code is governed by the MIT
license that can be found in the LICENSE file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.