Skip to main content

A portable command-line tool for copying and moving files and directories with progress indication.

Project description

⚡ am-okay CLI

A portable command-line tool for copying and moving files and directories with progress indication.
Supports slot operations, default operations, cut & copy, progress bar, and JSON persistence.


📚 Summary

✨ General features

  • Prepare and execute copy and cut operations.
  • Store operations in slots or use a default operation.
  • Execute multiple operations at once.
  • Reset or delete prepared operations.
  • Provides a progress bar during file transfers.
  • Persist prepared operations in JSON for later use.
  • Fully portable CLI tool.
  • Display detailed filesystem information (size, permissions, dates, ...etc) for files and directories.

💾 Installation

✅ Install via pip (recommended)

am-okay is published on PyPI and can be installed using the official Python package manager:

pip install am-okay

🛠️ Install from source via pip (quick development/test)

git clone https://github.com/baldeuniversel/am-okay.git
cd am-okay
pip install -r requirements.txt

🛠️ Install from source using Poetry (full development / contribution)

git clone https://github.com/baldeuniversel/am-okay.git
cd am-okay
poetry install
poetry run am-okay --help

🎯 Use cases

🔢 Use cases (slot operations)

Prepare a copy operation for the slot 0

am-okay --slot 0 --copy file1.txt file2.txt dirA

Prepare a cut operation for the slot 1

am-okay --slot 1 --cut dirB file3.txt

Print the prepared operation stored in the slot 0

am-okay --slot 0 --stat

Print prepared operations for slot indices from 0 to 1 (inclusive)

am-okay --slot 0-1 --stat

Print the prepared operations stored in slots 0 and 1

am-okay --slot 0,1 --stat

Print all the prepared operations stored in slots

am-okay --slot all --stat

Execute the prepared operation for the slot 0 (copy)

am-okay --slot 0 --paste dest/

Execute the prepared operation for the slot 1 (cut)

am-okay --slot 1 --paste dest/

Execute the prepared operations for slot indices from 0 to 1 (inclusive)

am-okay --slot 0-1 --paste dest/

Execute the prepared operations stored in slots 0 and 1

am-okay --slot 0,1 --paste dest/

Reset/delete the prepared operation for the slot 0

am-okay --slot 0 --reset

Reset/delete the prepared operations for slot indices from 0 to 1 (inclusive)

am-okay --slot 0-1 --reset

Reset/delete the prepared operations stored in slots 0 and 1

am-okay --slot 0,1 --reset

Reset/delete all prepared operations stored in the slots

am-okay --slot all --reset

🏷️ Use cases (default operations)

Prepare a copy operation

am-okay --copy file1.txt dirA

Prepare a cut operation

am-okay --copy file2.txt dirB

Execute the prepared default operation

am-okay --paste dest/

Print the prepared default operation

am-okay --stat

Reset/delete the prepared default operation

am-okay --reset

Immediate preparation and execution (copy)

am-okay --copy file3.txt dirC --paste dest/

Immediate preparation and execution (cut)

am-okay --cut file4.txt dirD --paste dest/

📁 Use cases (filesystem information)

Display information about a file

am-okay --info file5.txt

Display information about a directory

am-okay --info dirE

Display information about multiple files or directories

am-okay --info file6.txt dirF file7.txt dirG

👤 About the Author

Amadou Baldé
Developer/Programmer ... | Open Source Contributor

Connect with me:

Feel free to reach out if you'd like to collaborate on a project or discuss Python development !


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🔝 Back to top

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

am_okay-1.0.9.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

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

am_okay-1.0.9-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file am_okay-1.0.9.tar.gz.

File metadata

  • Download URL: am_okay-1.0.9.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.17.0-14-generic

File hashes

Hashes for am_okay-1.0.9.tar.gz
Algorithm Hash digest
SHA256 85eea5c4adf606a69e50bb84ba5988cf79cf215aa117a480f9896ec8d159b53d
MD5 a4842d0510626b5340dc6770ef9b6986
BLAKE2b-256 9da1312ce8ccd934e8446484d29d34d31e0f0ef21734e14594ff5cbca3ca680d

See more details on using hashes here.

File details

Details for the file am_okay-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: am_okay-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.17.0-14-generic

File hashes

Hashes for am_okay-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d3c0221d25db82378fd845bd4b204f93bfa5afad6c3c394540a2ad1b0a944992
MD5 38296b1874ff736c290bd7672b6704c9
BLAKE2b-256 f3a2193ac61411be3553688f8e99132bf50ff033a43c9ae35386edcf0136bed0

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