Skip to main content

Dark-FS is a cross-platform CLI file manager with a colorful terminal interface and fast navigation.

Project description

Dark FS

Dark FS is a cross-platform command-line file management tool built with Python. It provides a simple and colorful interface for performing common file operations directly from the terminal.

Features

  • Copy files
  • Move files
  • Create files
  • Rename files
  • Swap two files
  • Find duplicate files
  • Colored terminal output
  • Cross-platform support
  • Simple command structure

Installation

pip install dark-fs

Usage

Show Help

dfs --help

Show Version

dfs --version

Commands

Copy File

dfs cp source.txt destination.txt

Move File

dfs mv source.txt destination_folder

Create File

dfs cf hello.txt

Create file in a specific folder:

dfs cf hello.txt Documents

Rename File

dfs rn old.txt new.txt

Swap Two Files

dfs swap file1.txt file2.txt

Swaps the names of two files safely.

Find Duplicate Files

Current directory:

dfs duplicate .

Specific folder:

dfs duplicate Downloads

Dark FS compares file contents using SHA-256 hashes and reports duplicate files.

Examples

dfs cp notes.txt backup.txt

dfs mv image.png Images

dfs cf index.html

dfs rn draft.txt final.txt

dfs swap photo.jpg image.jpg

dfs duplicate Downloads

Project Structure

dark-fs/
├── LICENSE
├── README.md
├── pyproject.toml
├── .github/
│   └── workflows/
│       └── publish.yml
└── darkfs/
    ├── __init__.py
    ├── main.py
    ├── core.py
    ├── cli.py
    └── helpers.py

Requirements

  • Python 3.8+
  • colorama
  • pyfiglet

Installation From Source

git clone https://github.com/mayank-tech-official/dark-fs.git

cd dark-fs

pip install .

Release Notes

v0.2.0

Added:

  • swap command
  • duplicate command
  • improved terminal message system

v0.1.0

Initial release:

  • cp command
  • mv command
  • cf command
  • rn command

Author

Mayank Sinha

GitHub: https://github.com/mayank-tech-official

License

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

dark_fs-0.2.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

dark_fs-0.2.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file dark_fs-0.2.0.tar.gz.

File metadata

  • Download URL: dark_fs-0.2.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for dark_fs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 28992efc5c9dea6c9e5e98e12f4591df6704f8e118ba3136b02fbc24dd8becdb
MD5 fa3111468c25b2dc4557969b01a6d08a
BLAKE2b-256 989cd394f8ac24ffb7dc79abaec609c9a854856da40986834886f16afe372d6a

See more details on using hashes here.

File details

Details for the file dark_fs-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dark_fs-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for dark_fs-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13765357e3b32fd35c0e8b522f75735d91f707169e2b9617855cf4200cc35a73
MD5 ccedf0afddc1a38c2e3307c31f70cb7a
BLAKE2b-256 62e2e03dc3758e86e3a9a900fa66e1fddb59139622d3cc3fc662be43af53cc2d

See more details on using hashes here.

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