https://github.com/gonejack/gff
Go file flatting - extract files from directories.
https://github.com/gonejack/gff
flatting-files rename-files
Last synced: about 1 month ago
JSON representation
Go file flatting - extract files from directories.
- Host: GitHub
- URL: https://github.com/gonejack/gff
- Owner: gonejack
- License: mit
- Created: 2018-07-25T05:44:25.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-05-04T06:17:44.000Z (almost 3 years ago)
- Last Synced: 2024-06-20T05:19:23.313Z (over 1 year ago)
- Topics: flatting-files, rename-files
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gff
Go file flatting - extract files from sub-directories.


[](LICENSE)
## Usage
```
before
.
├── a
│ └── a.flv
├── b
│ └── b.flv
└── c.flv
```
```
> go get github.com/gonejack/gff
> gff -y '*.flv'
```
```
after
.
├── a
├── a_a.flv
├── b
├── b_b.flv
└── c.flv
```
## Help
```
Usage: gff [ ...]
Extract files from nested directory https://github.com/gonejack/gff
Arguments:
[ ...]
Flags:
-h, --help Show context-sensitive help.
-s, --separator="_" Filename separator.
-y, --yes Make real changes.
```