Skip to main content

A CLI tool that manages files and directories.

Project description

Foldora - File & Directory Manager CLI Tool

Foldora is a Python command-line interface (CLI) tool designed to help you efficiently manage files and directories.

🚀 Features

Foldora provides essential file and directory operations, including:

  • 📝 Displaying file contents
  • 🧹 Purging files and directories
  • 📁 Listing files and directories
  • 📂 Creating directories and files
  • ✏️ Replacing spaces in file and directory names with underscores

🛠️ Installation

To install Foldora, clone the repository and navigate to the project directory:

  • PS: Make sure python is installed in case you're new to Python.
pip install foldora

📦 Usage

Run Foldora using the fd command followed by the desired operation.

📁 List Files and Directories

Lists all files and directories in the current or specified paths.

Command:

fd l [optional_paths]

Examples:

  • List contents of the current directory
fd l
  • List contents of specific directories
fd l /path/to/dir1 /path/to/dir2  

📂 Create Directories

Creates one or more directories.

Command:

fd d [paths]

Example:

fd d /path/to/dir1 /path/to/dir2 ...

📄 Create Files

Creates one or more files in the current directory or a specified path.

Command:

fd f '[-p path]' [file_paths]

Examples:

  • Create files in the current directory
fd f file1.txt file2.txt  
  • Create files in a specified directory
fd f -p /path/to/dir file1.txt file2.txt  

🧹 Purge Files and Directories

Deletes specified files and directories with user confirmation.

Command:

fd p [file_paths] [dir_paths]

Example:

fd p /path/to/dir1 /path/to/file1 ...

📝 Display File Contents

Shows the content of one or more files.

Command:

fd c [file_paths]

Example:

fd c /path/to/file1 /path/to/file2 ...

✏️ Fill Blanks in File/Directory Names

Replaces spaces in file and directory names within a given path with underscores.

If no path is provided, the current working directory is used. You will also be prompted to activate "Sub Filling" mode, which triggers a low-level operation.

Command:

fd b [path]

Example:

  • Current directory
fd b
  • Specific directory
fd b /path/to/dir

🤝 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to help improve Foldora.

📄 License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foldora-0.0.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

foldora-0.0.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file foldora-0.0.2.tar.gz.

File metadata

  • Download URL: foldora-0.0.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for foldora-0.0.2.tar.gz
Algorithm Hash digest
SHA256 462307dababc1ffb9078d5d95a7ac09544379994331c2a34c1d4bf9ad0062df9
MD5 f6bc3b6c0302f3dfea879826e6f85d55
BLAKE2b-256 5206add272af3a5c47b0e10e94430c68851115758a24dd26ccda97b515b237fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for foldora-0.0.2.tar.gz:

Publisher: foldora.yml on ayoub-aberbach/foldora

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file foldora-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: foldora-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for foldora-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5caf0d0bf21aeef5949749d2831dc7696f25e859b2aec28d4f6598410edcf331
MD5 867bf2285de2055cc37ed37c97032913
BLAKE2b-256 d85f143ae2e20eec5a9117bc43b36cb50c14f6b4282b5cc01009f5d3ea66c166

See more details on using hashes here.

Provenance

The following attestation bundles were made for foldora-0.0.2-py3-none-any.whl:

Publisher: foldora.yml on ayoub-aberbach/foldora

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page