Skip to content

A Python script that provides a command-line tool for creating, deleting, renaming, moving files and directories, and managing text files.

Notifications You must be signed in to change notification settings

Akshayparihar07/File-Directory-Manipulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

File and Directory Manipulation Tool

This Python script provides a command-line tool for creating, deleting, renaming, moving files and directories, and managing text files.

Table of Contents

Features

This tool offers the following functionalities:

  1. Create a Directory:

    • Create a new directory at the specified path.
  2. Delete a Directory:

    • Delete an existing directory and its contents.
  3. List Files in a Directory:

    • List files within a specified directory and their types.
  4. Rename a Directory:

    • Rename an existing directory.
  5. Move Files from One Directory to Another:

    • Move all files from one directory to another.
  6. Create a File:

    • Create a new text file at the specified path.
  7. Delete a File:

    • Delete an existing text file.
  8. Edit a Text File:

    • Edit the content of an existing text file.
  9. Copy Content from One Text File to Another:

    • Copy the content of one text file to another.
  10. List Directories:

    • List directories in a specified path.

Getting Started

Prerequisites

  • Python 3.x

Installation

  1. Clone this repository:
      https://github.com/Akshayparihar07/File-Directory-Manipulation.git
  2. Navigate to the project directory: cd File-Directory-Manipulation
  3. Run the script: python main.py

Usage

Follow the on-screen menu to choose the desired operation and provide the required input. python main.py

Contributing

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

  • Author

  • This repository is created by Akshay Parihar

License

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.

About

A Python script that provides a command-line tool for creating, deleting, renaming, moving files and directories, and managing text files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages