This Python script provides a command-line tool for creating, deleting, renaming, moving files and directories, and managing text files.
This tool offers the following functionalities:
-
Create a Directory:
- Create a new directory at the specified path.
-
Delete a Directory:
- Delete an existing directory and its contents.
-
List Files in a Directory:
- List files within a specified directory and their types.
-
Rename a Directory:
- Rename an existing directory.
-
Move Files from One Directory to Another:
- Move all files from one directory to another.
-
Create a File:
- Create a new text file at the specified path.
-
Delete a File:
- Delete an existing text file.
-
Edit a Text File:
- Edit the content of an existing text file.
-
Copy Content from One Text File to Another:
- Copy the content of one text file to another.
-
List Directories:
- List directories in a specified path.
- Python 3.x
- Clone this repository:
https://github.com/Akshayparihar07/File-Directory-Manipulation.git
- Navigate to the project directory:
cd File-Directory-Manipulation
- Run the script:
python main.py
Follow the on-screen menu to choose the desired operation and provide the required input.
python main.py
Contributions are welcome! If you have ideas for improvements or find any issues, please open an issue or submit a pull request.
-
Fork the repository
-
Create a new branch for your feature or bug fix
-
Commit your changes
-
Push to your branch
-
Create a pull request
-
This repository is created by
Akshay Parihar
Make sure to replace the placeholders with actual links and information specific to your project. This `README.md` provides an overview of your project, how to use it, how to contribute, and the license.