From a00480771ac3b3ea6f5115524aca612d96341a0f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 22 Sep 2023 14:54:21 +0100 Subject: (Scripts)+create_backup,+folder_size create_backup does the obvious using tar and xz. Needs two arguments for what and where. folder_size does the obvious using du. --- Scripts/.local/scripts/folder_size | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 Scripts/.local/scripts/folder_size (limited to 'Scripts/.local/scripts/folder_size') diff --git a/Scripts/.local/scripts/folder_size b/Scripts/.local/scripts/folder_size new file mode 100755 index 0000000..fe136c6 --- /dev/null +++ b/Scripts/.local/scripts/folder_size @@ -0,0 +1,3 @@ +#!/usr/bin/sh + +du -BM -d $1 | sort -n -- cgit v1.2.3-13-gbd6f