mkemptyfile

Crates.iomkemptyfile
lib.rsmkemptyfile
version
sourcesrc
created_at2025-03-13 01:02:04.859022+00
updated_at2025-03-13 01:02:04.859022+00
descriptioncreates an empty file
homepagehttps://gitlab.com/hsn10/mkemptyfile
repositoryhttps://gitlab.com/hsn10/mkemptyfile.git
max_upload_size
id1590373
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Radim Kolar (hsn10)

documentation

README

mkemptyfile

Version License MSRV Safe Rust Downloads

About

This program creates an empty file of specified size. Content can be zeroes or randomly generated.

Arguments

You need to specify file name and size. Desired file size can be specified in different units (B,K,M,G,T) or by reference file (-r). If you do not want new file to have 00 content, option -g will generate random filler data.

Program Exit codes

  • 0 Success
  • 1 incorrect command line arguments
  • 2 incorrectly specified file size
  • 3 can not create file

License

This is free and unencumbered software released into the public domain.

This code can be used under terms of CC0 or the Unlicense.

Unlicense logo

Commit count: 0

cargo fmt