Genutils is the attempt to rewrite some of the main GNU core utils. Commands ends with prefix with "g" to indicate genutils and don't conflict with other commands.
- Simplicity over complexity
- Learning CLI tools and improve my understanding of C
- Focus on the Linux side first
- list objects if path provided
- get the all files and directories in the list by column (-l)
- show hidden files (-a)
- list directories recursively (-R)
- output with colors
- sort items by default and select certain algorithm if argument is provided (-s)
- cp directory (-r)
- add verbose output (-v)
- print amount of bytes copied
- StackOverflow: Checking if a directory exists in Unix
- What is mode_t in C?
- How to pass function as parameter in C
- Stat function manual
- Reddit: building cross-platform C programs
If you have found bug, please describe it in the issues section or fork the project, fix an error and create pull request.
The project created for educational purposes and LICENSED under MIT. (See LICENSE file)