💾 Archived View for freeshell.de › tldr › truncate.gmi captured on 2023-11-04 at 12:55:41. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Shrink or extend the size of a file to the specified size.
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).