https://github.com/codegram01/gfm
Golang File Manager
https://github.com/codegram01/gfm
cli file-manager golang-cli golang-tool linux-tool
Last synced: 14 days ago
JSON representation
Golang File Manager
- Host: GitHub
- URL: https://github.com/codegram01/gfm
- Owner: codegram01
- License: mit
- Created: 2024-08-02T20:50:53.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-04T10:33:05.000Z (9 months ago)
- Last Synced: 2025-04-13T00:53:12.186Z (14 days ago)
- Topics: cli, file-manager, golang-cli, golang-tool, linux-tool
- Language: Go
- Homepage: https://youtu.be/UolQMQBzOGs?si=w1CG1hcBEwMR2lN-
- Size: 12.7 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gfm - Golang File Manager
gfm is a command-line file manager written in Go. It provides a simple and unified interface to commonly used file management functionalities, eliminating the need to remember individual Linux commands.
[Video when i create gfm](https://youtu.be/UolQMQBzOGs)
## Features
- Files manger: info, create, delete, move, copy, read, write file
- Replaces core Linux commands: ls, rm, pwd, mv, mkdir, cat, touch, cp, and echo.## Usage
```sh
gfm [command] [arg1] [arg2]
```Use the commands like their Linux counterparts, with gfm preceding them.
Examples:
```sh
# List files in the current directory
gfm ls# Get the current working directory
gfm pwd# View the contents of a file
gfm cat abc.txt# Move a file
gfm mv abc.txt def.txt# Delete a file
gfm rm abc.txt
```## Install
Prerequisites: [Install Golang](https://go.dev/doc/install)### Option 1: Install Binary
```sh
go install github.com/codegram01/gfm@latest
```### Option 2: Install and build from source
```sh
git clone https://github.com/codegram01/gfm.git
cd gfm# Run code:
# Use go run . + command
go run .# Build
go build .# Install command
go install
```