edfp

Crates.ioedfp
lib.rsedfp
version0.1.0
sourcesrc
created_at2017-03-17 08:51:52.14793
updated_at2017-03-17 08:51:52.14793
descriptionA visual-editor based command line tool for manipulating files.
homepage
repositoryhttps://github.com/RyanMcG/edfp
max_upload_size
id9009
size4,546
Ryan McGowan (RyanMcG)

documentation

README

edfp

edit file paths


WIP

Currently this program does not behave as described below.

Usage

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.

  1. Changing the name of the file will rename it.
  2. Clearing the line will delete it.

Example

$ 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 ax and cy and deleted b. Good job!

Build

cargo build

License

MIT. See LICENSE.

Commit count: 16

cargo fmt