💾 Archived View for freeshell.de › tldr › truncate.gmi captured on 2022-04-28 at 19:40:01. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
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).