File View is a simple, terminal-based file browser script that allows users to navigate directories, view files, and preview text files directly from the command line. It provides an intuitive interface for navigating and managing files and directories using keyboard shortcuts.
- Directory Navigation: Navigate through directories and files using arrow keys.
- File Preview: Preview text files directly within the terminal.
- Color Coding: Files, directories, and executables are color-coded for easy identification.
- Easy Directory Management:
qto quit and remain in the last browsed directory.- Use the left arrow key to go back to the parent directory.
- Use the right arrow key or
Enterto enter a selected directory.
-
Download the Script
Clone or download the script to your local machine.
git clone https://github.com/yourusername/file_view.git
- Basic Commands
- Up/Down Arrow Keys: Move the selection up and down in the list of files and directories.
- Right Arrow Key / Enter: Enter the selected directory (if it's a directory).
- Left Arrow Key: Return to the parent directory.
- q: Quit the file browser and stay in the last browsed directory.
Contributions are welcome! If you'd like to improve the tool, add new features, or fix bugs, feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.