Skip to content

A lightweight, terminal-based file system navigator and explorer written in Python

Notifications You must be signed in to change notification settings

RushilMahadevu/PyNavFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗂️ PyNavFS

A lightweight, terminal-based file system navigator and explorer written in Python. PyNavFS provides an intuitive command-line interface for basic file system operations including browsing, creating, copying, moving, and managing files and folders.

✨ Features

  • 📁 Directory navigation
  • 📋 File and directory listing with details (size, modification time)
  • ➕ Create and delete files/directories
  • 🔄 Move and copy files/directories
  • 🔍 Open files with system default applications
  • 🎨 Color-coded interface for better visibility
  • 🐍 Run Python scripts directly
  • 📝 View file contents (cat command)
  • 🔍 Search for files and directories by name (find command)

🛠️ Installation

  1. Clone the repository:
git clone https://github.com/RushilMahadevu/PyNavFS.git
  1. Navigate to the project directory:
cd PyNavFS

💻 Usage

Run the program:

python main.py

Available Commands:

  • ls - List contents of current directory
  • cd <path> - Change directory
  • mkdir <name> - Create a new directory
  • rm <name> - Delete a file or directory
  • touch <filename> - Create a new empty file
  • open <filename> - Open a file with system default editor
  • run <filename> - Run a Python script
  • cat <filename> - Display file contents
  • find <name> - Search for files or directories by name
  • mv <source> <destination> - Move or rename files/directories
  • cp <source> <destination> - Copy files or directories
  • help - Show help message
  • exit - Exit the program

Examples:

# Copy a file
cp document.txt backup.txt

# Move a file to another directory
mv document.txt documents/

# Rename a file
mv oldname.txt newname.txt

🔧 Requirements

  • Python 3.x
  • colorama >= 0.4.6

📝 License

MIT License

About

A lightweight, terminal-based file system navigator and explorer written in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages