This is a simple terminal-based file explorer written in Python using the curses module. It mimics the functionality of the Ranger file manager for the Linux terminal but is designed to run on Windows using Python curses.
- Navigate through directories and files using arrow keys or 'w', 's', 'a', 'd'.
- Open files and directories using 'Enter' or 'd'.
- Move up to the parent directory using 'Backspace' or 'a'.
- Exit the file explorer and change CMD path using 'e'.
- Copy current file/folder path to clipboard using 'c'.
- Copy the path of the current parent directory to clipboard using 'C'.
- Toggle visibility of hidden files and folders using 'h'.
- Automatically adjusts the number of displayed files based on CMD window size changes.
- Dynamically updates the file display when the CMD window size is changed.
-
Run the file explorer script using the following command:
python file_explorer.py
-
Navigate through directories using arrow keys or designated keys.
-
Open files or directories using 'Enter' or 'd'.
-
Change CMD path and exit using 'e'.
-
Copy paths to clipboard using 'c' or 'C'.
-
Toggle visibility of hidden files and folders using 'h'.
-
Adjust the displayed files based on CMD window size changes.
- Python 3.x
- curses module (comes pre-installed with Python on Unix-like systems)
- pyperclip
- This file explorer is designed to run on Windows using Python curses.
- Ensure that Python is installed and available in the system's PATH.