https://github.com/rokawoo/dir-lister-inventory
Where did I put it again?
https://github.com/rokawoo/dir-lister-inventory
bash-script dir inventory school-project xml
Last synced: about 2 months ago
JSON representation
Where did I put it again?
- Host: GitHub
- URL: https://github.com/rokawoo/dir-lister-inventory
- Owner: Rokawoo
- License: mit
- Created: 2024-04-30T16:10:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T16:40:52.000Z (about 2 years ago)
- Last Synced: 2025-02-16T02:44:31.006Z (over 1 year ago)
- Topics: bash-script, dir, inventory, school-project, xml
- Language: C
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Inventory & Dir-lister
By Rokawoo
> [!CAUTION]
> ⭐ These scripts are extremely cool!
## Inventory
### Inventory Overview
Inventory is an interactive utility written in C for maintaining a database of inventory items. It allows you to read an existing data file (`inv.dat`), interact with the inventory through a simple command-line interface, and update the inventory as needed. You can add items, remove items, print the current inventory, and save changes back to the data file.
## Dir-lister
### Dir-lister
Dir-lister is a Bash script that recursively traverses a filesystem subtree, creating a dir.xml file in each directory. The content of the dir.xml files is derived from the directory's structure and an optional README file. The script identifies unlisted directories and files and categorizes them in the XML structure.