create_backup does the obvious using tar and xz. Needs two arguments for what and where. folder_size does the obvious using du.
4 lines
38 B
Bash
Executable File
4 lines
38 B
Bash
Executable File
#!/usr/bin/sh
|
|
|
|
du -BM -d $1 | sort -n
|