💾 Archived View for freeshell.de › tldr › truncate.gmi captured on 2022-06-11 at 23:54:57. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

truncate

Shrink or extend the size of a file to the specified size.

More information.

truncate --size {10G} {filename}
truncate --size +{50M} {filename}
truncate --size -{2G} {filename}
truncate --size 0 {filename}
truncate --no-create --size 0 {filename}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY