spicylemonade/punch

🗂️ file and folder management written in rust :page_facing_up:

It can be kind of easy to forget which bash command do what, for folder creation, we have mkdir, for files cat and touch and...


punch

About punch :bulb:

It can be kind of easy to forget which bash command do what, for folder creation, we have mkdir, for files cat and touch and for deletion we have rm, and each of them has its own flags and ways to append multiple so why not just have one command do it all.

name inspired by the "touch" command

commands:

:ledger: note -> all commands cand be joined together any number of times

  • ex: punch <flag(optional)> <file or directory_name> <file or directory_name> ...
  • punch ./folder1/ file1.txt file2.txt ./folder2 ./folder3 "to create multiple files and folders"
    

all directories must start with "./" and end with "/"

  • punch -h "to bring up help"
    
  • punch <file_name> "to create file"
    
  • punch -dir ./<directory_name>/ "create directory" 
    
  • :bell:(bonus)
      punch ./<directory_name>/ "to use without -dir flag"
    
  • punch -d <file_name> "or"  punch -d ./<directory_name>/ "to delete"
    
  • punch -in ./<target_directory_name>/ <file or directory_name> "creates files inside target directory"
    
  • punch -din ./<target_directory_name>/ <file or directory_name> "deletes files inside target directory"
    

Built With

Building from Source :gift:

  1. Clone the repo
    git clone https://github.com/spicylemonade/punch.git
    
  2. CD into the project
    cd ./punch
    
  3. Run the build script
    . ./build.sh
    
    or
     source ./build.sh
    

{To top}

Examples

{To top}

contributions:eyes:

contributions are welcome, just fork and pull request

Versions

Find the latest versions by id

Information - Updated Jul 31, 2022

Stars: 1
Forks: 0
Issues: 0

rhex ASCII terminal game coded in Rust

Learn how to code your own terminal based game in Rust

rhex ASCII terminal game coded in Rust

KDash - A fast and simple dashboard for Kubernetes

A simple terminal dashboard for Kubernetes built with Rust

KDash - A fast and simple dashboard for Kubernetes

A dead simple ANSI terminal color painting library for Rust

See the ansi_term, term_painter, to name a few), begging the question: why yet another? Here

A dead simple ANSI terminal color painting library for Rust
Linux

1.3K

In terminal graphical metrics for your *nix system written in Rust

Optional CPU, Memory, Network, and Disk usage charts

In terminal graphical metrics for your *nix system written in Rust

gobang is currently in alpha

A cross-platform terminal database tool written in Rust

gobang is currently in alpha
CLI

1.6K

From source (recommended)

A small command-line application to view images from the terminal written in Rust

From source (recommended)

ranger-like terminal file manager written in Rust

wiki/Configuration for details

ranger-like terminal file manager written in Rust
CLI

249

Ttyper is a terminal-based typing test built with Rust and tui-rs

For usage instructions, you can run ttyper --help

Ttyper is a terminal-based typing test built with Rust and tui-rs

Terminal plotting library for using in Rust CLI applications

Should work well in any unicode terminal with monospaced font

Terminal plotting library for using in Rust CLI applications

A 'Space Invader' clone made with rust and made for the terminal

Inspired by Apache License (Version 2

A 'Space Invader' clone made with rust and made for the terminal

A minimal 1-on-1 terminal messenger cli written purely in rust

This is an extremely minimalistic version of any sort of messenger piece of software, except it's only meant for 1 on 1 sessions and everything...

A minimal 1-on-1 terminal messenger cli written purely in rust
Facebook Instagram Twitter GitHub Dribbble
Privacy