| by Arround The Web

How to Take Backup with Btrfs Snapshots

BTRFS is an open-source and modern filesystem implemented with advanced features. It works on copy on write (CoW) mechanism. It is included in the mainline Linux kernel. Notable features of Btrfs are copy-on-write data and metadata, snapshots, Built-in…

Share Button
Read More
| by Scott Kilroy

Print the total bytes of files in a directory grouped by date

ls -l|awk ‘length($6)==3{x[$6″ “$7]+=$5};END{for(i in x)printf”%s:\t%d\n”,i,x[i]}’

Share Button
Read More
| by Scott Kilroy

Find the largest file in a directory tree

find /path -type f -exec ls -s {} \; | sort -n | tail -1

Share Button
Read More