FiDir is a Bash script that simplifies the task of sorting and filtering files and directories in a directory hierarchy. With FiDir, you can quickly organize and display your files based on various criteria, such as size, file type, date created, last modified date, and file permissions.
- Sort and display files and directories based on various criteria.
- Filter files by file type or permission.
- Customize sorting options.
- User-friendly command-line interface.
- A Linux system
- Bash shell
To use FiDir, simply download the script and execute it in your desired directory. You can specify the directory as an argument (default is the current directory).
./fidir.sh [directory]
FiDir includes three main menus:
-
Main Menu: The main menu provides options to sort and display or filter and display files.
-
Sort Menu: The sort menu allows you to choose sorting criteria and view files and directories accordingly.
-
Filter Menu: The filter menu enables you to filter files based on file type or permission.
FiDir offers the following sort functions:
- Display files and directories by size.
- Display files by file type.
- Sort files/directories by date created.
- List files/directories by last modified date.
FiDir provides filter functions for:
- Filtering files by custom file type (user can manually specify which .fileExtension files they want to list).
- Filtering files by permission (readable, writable, or executable).
If you'd like to contribute to FiDir, please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.