mirror of
https://github.com/acedanger/shell.git
synced 2025-12-05 22:50:18 -08:00
Commit local changes before merging with remote
This commit is contained in:
@@ -5,6 +5,7 @@ This document provides an overview and step-by-step explanation of the `folder-m
|
||||
## Script Overview
|
||||
|
||||
The script performs the following main tasks:
|
||||
|
||||
1. Checks if a directory is provided as an argument.
|
||||
2. Calculates the disk usage of the directory.
|
||||
3. Iterates over each subdirectory to calculate disk usage and file count.
|
||||
@@ -64,9 +65,11 @@ To use the script, run it with the directory path as an argument:
|
||||
## Important Information
|
||||
|
||||
- Ensure that the script is executable. You can make it executable with the following command:
|
||||
|
||||
```shell
|
||||
chmod +x folder-metrics.sh
|
||||
```
|
||||
|
||||
- The script requires a directory path as an argument. Ensure that you provide a valid directory path when running the script.
|
||||
|
||||
By following this documentation, you should be able to understand and use the `folder-metrics.sh` script effectively.
|
||||
|
||||
Reference in New Issue
Block a user