Skip to Content
gnux

-c, --no-create

Do not create any files.

An option of truncatex.

Usage

truncatex -c OPTION... FILE...
truncatex --no-create OPTION... FILE...

Details

ShortLongValueDefaultMeaning
-c--no-createnonedo not create any files

Examples

Empty every log that exists, without creating missing ones

truncatex -c -s 0 a.log b.log c.log

Help in the terminal

gnux help truncatex --no-create

On this page