https://github.com/karl-horning/bash-notebook
A personal collection of Bash scripts and notes for learning, automation, and quick reference. Includes file utilities, folder flatteners, and a growing cheatsheet for common shell tasks.
https://github.com/karl-horning/bash-notebook
automation bash cheatsheet cli-tools command-line learning-resources linux macos scripting shell shell-scripts utilities
Last synced: about 1 month ago
JSON representation
A personal collection of Bash scripts and notes for learning, automation, and quick reference. Includes file utilities, folder flatteners, and a growing cheatsheet for common shell tasks.
- Host: GitHub
- URL: https://github.com/karl-horning/bash-notebook
- Owner: Karl-Horning
- License: mit
- Created: 2025-07-18T10:08:33.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-07-28T20:45:45.000Z (10 months ago)
- Last Synced: 2025-07-28T22:28:30.299Z (10 months ago)
- Topics: automation, bash, cheatsheet, cli-tools, command-line, learning-resources, linux, macos, scripting, shell, shell-scripts, utilities
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bash notebook
> This repo is no longer maintained and is kept for reference only.
Personal bash scripts for file management, plus a [bash cheatsheet](./CHEATSHEET.md).
## Scripts
| Script | Description |
|---------------------------------------------------|-----------------------------------------------------------------|
| [`clean-filenames`](./src/clean-filenames/) | Strips leading, trailing, and excess spaces from filenames |
| [`flatten-to-root`](./src/flatten-to-root/) | Moves all files from nested subdirectories into the root folder |
| [`flatten-subfolders`](./src/flatten-subfolders/) | Flattens nested content within each immediate subfolder |
## Setup
The flatten scripts target `/Users/$USER/flattenFolders` by default. To change this, edit the `dir_to_flatten` variable at the top of the script.
## Licence
MIT © 2025 [Karl Horning](https://github.com/Karl-Horning)