file-cmd

command module
v0.0.0-...-0bdc7ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2026 License: BSL-1.0 Imports: 7 Imported by: 0

README

file-cmd

Go Reference Go Report Card

About

file-cmd executes various commands on files. file-cmd is published on https://github.com/vbsw/file-cmd.

Copyright 2026, Vitali Baumtrok (vbsw@mailbox.org).

file-cmd is distributed under the Boost Software License, version 1.0. (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)

file-cmd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Boost Software License for more details.

Usage

file-cmd ( INFO | SPLIT/CONCATENATE )

INFO
	-h, --help    print this help
	-v, --version print version
	--copyright   print copyright

SPLIT/CONCATENATE
	[COMMAND] INPUT-FILE [OUTPUT-FILE]

COMMAND
	-p=N          split file into N parts (chunks)
	-b=N[U]       split file into N bytes per chunk, U = unit (k/K, m/M or g/G)
	-l=N          split file into N lines per chunk
	-c            concatenate files (INPUT-FILE is only one file, the first one)

References

Documentation

Overview

Package main executes various cmds on files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL