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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32e710337ada949d1a7cae2f1688c0f3961fa2fb36fe3d6374ec66b5de70d30a
|
|
| MD5 |
40edc0728351159b161ac53128f66ec3
|
|
| BLAKE2b-256 |
9a51989a6c2de62ced95b64d52ce092c279435697d6dab3092bf7ea08e00b746
|
Provenance
The following attestation bundles were made for foldora-0.0.3.tar.gz:
Publisher:
foldora.yml on ayoub-aberbach/foldora
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
foldora-0.0.3.tar.gz -
Subject digest:
32e710337ada949d1a7cae2f1688c0f3961fa2fb36fe3d6374ec66b5de70d30a - Sigstore transparency entry: 211036370
- Sigstore integration time:
-
Permalink:
ayoub-aberbach/foldora@2bb8f1f0d94c15ddb5a240d42f718fd66c498e17 -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/ayoub-aberbach
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
foldora.yml@2bb8f1f0d94c15ddb5a240d42f718fd66c498e17 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6277fdfea706eafaa95ac6f0466d2a2eabec75d73f90ce018d737fb243f700f
|
|
| MD5 |
b69f5a30f1abbf02d029ab5521be3974
|
|
| BLAKE2b-256 |
12e929d104fce6374000877475fdf5e66139a974a38ae300dfc34bb1c94b124d
|
Provenance
The following attestation bundles were made for foldora-0.0.3-py3-none-any.whl:
Publisher:
foldora.yml on ayoub-aberbach/foldora
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
foldora-0.0.3-py3-none-any.whl -
Subject digest:
b6277fdfea706eafaa95ac6f0466d2a2eabec75d73f90ce018d737fb243f700f - Sigstore transparency entry: 211036383
- Sigstore integration time:
-
Permalink:
ayoub-aberbach/foldora@2bb8f1f0d94c15ddb5a240d42f718fd66c498e17 -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/ayoub-aberbach
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
foldora.yml@2bb8f1f0d94c15ddb5a240d42f718fd66c498e17 -
Trigger Event:
push
-
Statement type: