Crates.io | edfp |
lib.rs | edfp |
version | 0.1.0 |
source | src |
created_at | 2017-03-17 08:51:52.14793 |
updated_at | 2017-03-17 08:51:52.14793 |
description | A visual-editor based command line tool for manipulating files. |
homepage | |
repository | https://github.com/RyanMcG/edfp |
max_upload_size | |
id | 9009 |
size | 4,546 |
edit file paths
Currently this program does not behave as described below.
ls | edfp
edfp reads stdin, assumes each line is a path to a file object (file or directory) and allows for easy manipulation of those objects.
$ mkdir playground && cd playground
$ touch a b c
$ ls
a b c
$ ls | edfp
VISUAL will be opened with each line representing a file path:
a
b
c
Let's say you edit it to this:
x
y
Write and quit your editor, then try ls
again.
$ ls
x y
You renamed a → x and c → y and deleted b. Good job!
cargo build
MIT. See LICENSE.