Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.01 KB

README.md

File metadata and controls

25 lines (21 loc) · 1.01 KB

Directory Analyzer

This repository contains scripts for analyzing directory contents on Windows and Linux platforms. The scripts allow users to view files, count files and subdirectories, and navigate through directories.

Features

  • Counts and lists files in the specified directory.
  • Displays the total number of files and subdirectories.
  • Simple error handling for empty input and non-existent directories.

Usage

Windows (dir_size(win).bat & dir_size(upgrade).bat)

  1. Download the desired .bat file.
  2. Run the script by double-clicking or executing it in the Command Prompt.
  3. Follow the prompts to enter the directory path.

Linux (dir_size(lin).sh)

  1. Download dir_size(lin).sh.
  2. Make the script executable with the command:
  chmod +x dir_size(lin).sh

Description about various files:

  • dir_size(win).bat: Basic Windows Batch Script
  • dir_size(upgrade).bat: Upgraded Windows Batch Script with Navigation
  • dir_size(lin).sh: Linux Bash Script for Directory Analysis