go-fileutils-cli

command module
v0.0.0-...-1950331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 1 Imported by: 0

README

FileUtils (Work In Progress)

A cross-platform collection of command line utilities for file interactions.

Features
  • Powered by a Django-like templating engine pongo2
  • Command history and undo abilities
  • Glob file matching
  • Auto-indexing when multiple files result in the same output
  • Favorite commands for quick access (TODO)
Opinionated Defaults
  • Missing directories are automatically created (like mkdir -p)
  • Using the rename alias keeps files in the same directory
  • Outputting to an existing file will result in a prompt instead of overwriting (unless --force option used)

Usage

fu [command] [command options]

Command Alias(es) Description
cp copy copy one or more files/directories to a destination (with variable support)
favorites (TODO) f, fav, favourites run, view, and edit favorited commands
hash (TODO) md5, sha1, sha256, sha512 get the hash of one or more files (use the appropriate alias for the algorithm you need)
help view help (works with individual commands as well)
history h view, undo, re-run, copy, and favorite past commands
ln link, mklink create soft or hard links to one or more files (with variable support)
mv move, rename move/rename one or more files/directories (with variable support)
undo (TODO) u undo the last undoable command that hasn't already been undone

Installation

You probably shouldn't....yet

Move

Copy

Variables And Filters

Hash

History

Undo

Favorites

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lib
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL