Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lezhou8 committed Jan 12, 2024
1 parent 6c20b33 commit 78dd5a8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
## About
Simple command-line tool for bulk renaming files and folders.
# Bulk
Simple command-line tool for bulk renaming files and folders inspired by [ranger](https://github.com/ranger/ranger).

## Usage
Call bulk with the files to rename as arguments.

```{sh}
bulk file.txt another_file.txt yet_another_file.txt
```

bulk will open a text editor, first by checking your `$EDITOR` environmental variable, then `xdg-open`. The editor can change then name of each file.

Another file will be opened. This file will contain the shell commands to rename your files to their new names. Upon closing this file, each file will be renamed.

Works well when used with [nav](https://github.com/lezhou8/nav).

<img src="assets/nav_bulk.gif">

## Install

```{sh}
go install github.com/lezhou8/bulk@latest
```

## Dependencies
- [Go](https://golang.org/)

## Built with
- [Go](https://golang.org/)
- [cobra](https://github.com/spf13/cobra)
- [golang-set](https://github.com/deckarep/golang-set)
Binary file added assets/nav_bulk.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 78dd5a8

Please sign in to comment.