Skip to content
David Urbina edited this page Jun 29, 2024 · 2 revisions

Overview

Welcome to the Diomeh's Script Utilities project wiki! This project provides a comprehensive set of utilities designed to handle various file operations efficiently. These utilities are available both as bash scripts and as a Rust CLI tool.

Standalone bash scripts

Bundled in a tarfile as a set of bash scripts all independent from each other and only responsible for a single operation. More information in how to run them here.

List of scripts:

  • backup.sh: creates and restores timestamped backups of files and directories.
  • cln.sh: Strip non-ascii characters from files and directories.
  • copy.sh: copy shell output to clipboard.
  • hog.sh: list current directory contents ordering by file size from biggest to smallest
  • paste.sh: paste clipboard contents into shell
  • xtract.sh: archive extraction utility that handles different formats and compression algorithms

Rust CLI tool

A tool written in rust that bundles all of the utilities into a single CLI.

Each command corresponds to a bash script rewritten as a rust module, this allows for a more straightforward development process and the ability to create OS-agnostic releases if it where needed.

List of available commands :

  • backup: creates timestamped backups of files and directories
  • cln: Strip non-ascii characters from files and directories
  • copy: copy shell output to clipboard
  • hog: list current directory contents ordering by file size from biggest to smallest
  • paste: paste clipboard contents into shell
  • restore: restores timestamped backups of files and directories.
  • xtract: archive extraction utility that handles different formats and compression algorithms
Clone this wiki locally