.. index:: truncate (command) .. _command_truncate: truncate - truncate files to size ================================= Usage ^^^^^ ``truncate [-c] -s [+]SIZE FILE...`` Synopsis ^^^^^^^^ :: Set files to specified size. Missing files are created unless -c option is used. With -s +SIZE, increase size by SIZE bytes; with -s SIZE, set absolute size. Options ^^^^^^^ -c Do not create files -s [+]SIZE truncate file to SIZE, or increase by +SIZE .. generated from: /ptx/work/WORK_EIHEI/sha/backup/barebox/barebox-maintainer-utils/barebox/commands/truncate.c .. command function: do_truncate