Giter VIP home page Giter VIP logo

trash-cli's Introduction

🗑️Trash-CLI

A command-line utility to trash files safely on any UNIX-like operating system, compliant with the FreeDesktop.org Trash specification, written in Go

Current version : 1.0

For a brief overview on the process of creating the app, check out 📁notes/process.md


Installation

To install the app, first ensure you have go installed and on your path. Then, clone the repo and build the binary:

git clone https://github.com/cross-codes/Trash-CLI.git
go build -ldflags="-s -w" -o trashput

Here, you may replace trashput with any name of your choice which will now be the command used to execute the application). Move the newly created binary into a location included in PATH such as ~/.local/bin and then execute trashput anywhere:

trashput [FILE/DIR]...

The arguments can contain globbing patterns


Usecase

This app is designed for users who primarily use a TUI with a file manager like Thunar or Dolphin installed. It provides a convenient way to trash files and folders. However, it does not include a separate restoration functionality. The decision was made to keep the scope focused on trashing files efficiently, while leaving the restoration process to be handled through the user's file manager.

This specialization allows for a lightweight and streamlined user experience, especially for those accustomed to managing files primarily through graphical interfaces


Project started on: 25/03/2024

(v1.0) First functional version completed on: 26/03/2024

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.