A CLI tool that manages files and directories.
Project description
FDIO is a Python command line interface (CLI) tool designed to allow you to manage your files and directories.
Features:
File Manager CLI Tool.
A command line utility (CLI) for file and directory operations. Provides commands to:
- List files.
- Create directories and files.
- Purge files and directories.
- Display file contents.
Commands:
- List files and directories.
Lists all files and directories in the current directory or specified paths.
Arguments: paths (tuple of Path): Paths to list. If no paths are provided, lists the contents of the current directory.
Examples:
1- Current path:
flio lfd
2- Add path(s):
flio lfd /path/to/directory-1 /path/to/directory-2 ...
- Create directories.
Creates one or more directories.
Arguments: path (tuple of Path): Paths to directories to be created. If directories already exist, they are not modified.
Examples:
flio crd new_directory another_directory ...
- Create files.
Creates one or more files in the current directory or specified path.
Arguments: filename (tuple of File): Names of files to be created. path (Path, optional): Custom path where the files will be created. If not provided, files are created in the current directory.
Examples:
1- Current directory:
flio crf file1.txt file2.txt ...
2- Add a directory path:
flio crf -p /path/to/directory file1.txt file2.txt ...
- Purge files and directories.
Deletes specified files and directories. Requires user confirmation.
Arguments: paths (tuple of Path): Paths of files and directories to be deleted.
Examples:
flio prg file1.txt directory1 ...
- Show file contents.
Displays the content of one or more files.
Arguments: files (tuple of File): Files to display the contents of.
Examples:
flio cnt file1.txt file2.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file fdio-1.1.tar.gz
.
File metadata
- Download URL: fdio-1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b7c62633031b2ef3be830c7a2a377e155edb6c1d27e04362cfe85fb19cc455 |
|
MD5 | c51a6bfd9bd440fc199b658d89a86a38 |
|
BLAKE2b-256 | d49f3576ad5d0915172f874bfdc193db9db77bcdf67b4ed8f4760622886a47ee |