RSSAmplifier

Posts - Scott Robinson · @ssxio · Oct 29, 2020

A quick way to truncate files on Mac and Linux systems

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

A short-hand method of truncating files is by using this syntax: : > /path/to/filename.txt Once it has ran then the files content will be removed and the file itself left in place.

Read on dor.ky

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.