zigford.org

About | Links | Scripts
Sharing linux/windows scripts and tips

Defragging files in btrfs - Oneliner

April 10, 2020 — Jesse Harris

Sometimes, small databasey files get a bit fragmented over time on a COW filesystem. This touch of shell is a goodone to clean them up every now and then.

Read more...

Ip addresses on your subnet with xargs

September 01, 2018 — Jesse Harris

xargs strikes again. This time I'm going to use it's parallel feature to ping 255 machines very quickly. xargs has a parem -Px where x is the number of parallel processes to spawn of the subsequent process.

Read more...