Skip to main content

A CLI tool that manages files and directories.

Project description

Foldora - File & Directory Manager CLI Tool

Contributor Covenant

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.3.tar.gz (6.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.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: foldora-0.0.3.tar.gz
  • Upload date:
  • Size: 6.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.3.tar.gz
Algorithm Hash digest
SHA256 32e710337ada949d1a7cae2f1688c0f3961fa2fb36fe3d6374ec66b5de70d30a
MD5 40edc0728351159b161ac53128f66ec3
BLAKE2b-256 9a51989a6c2de62ced95b64d52ce092c279435697d6dab3092bf7ea08e00b746

See more details on using hashes here.

Provenance

The following attestation bundles were made for foldora-0.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: foldora-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b6277fdfea706eafaa95ac6f0466d2a2eabec75d73f90ce018d737fb243f700f
MD5 b69f5a30f1abbf02d029ab5521be3974
BLAKE2b-256 12e929d104fce6374000877475fdf5e66139a974a38ae300dfc34bb1c94b124d

See more details on using hashes here.

Provenance

The following attestation bundles were made for foldora-0.0.3-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