Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geoffrey1330/filecommander
A Golang Cli tool for performing file operations
https://github.com/geoffrey1330/filecommander
Last synced: 3 months ago
JSON representation
A Golang Cli tool for performing file operations
- Host: GitHub
- URL: https://github.com/geoffrey1330/filecommander
- Owner: geoffrey1330
- License: apache-2.0
- Created: 2023-06-18T23:29:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-08T15:19:22.000Z (over 1 year ago)
- Last Synced: 2024-06-22T08:25:15.961Z (7 months ago)
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 4
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# File Commander
File Commander is a command-line tool for performing various file operations such as `DELETE`, `COPY`, `MOVE`,`READ`, `SEARCH`, `LIST` with the terminal.
## Installation
To install File Commander, follow this [Guide](https://github.com/geoffrey1330/filecommander/blob/main/Installation.md)
## Getting Repo
follow these steps:
1. Make sure you have Go installed on your machine.
```shell
# Check Go version
go version
```or visit https://go.dev/ to install Go on your local machine.
2. Clone the repository or download the source code.
```shell
git clone https://github.com/geoffrey1330/filecommander.git
```3. Navigate to the project directory.
```shell
cd filecommander
```4. Run the following command to build the executable:
```shell
go build -o filecommander main.go search.go utils.go
```This will generate an executable named filecommander.
## Usage
File Commander supports the following commands:
#### Create
Create a new file.
```shell
filecommander create
```#### Read
Read the content of a file.
```shell
filecommander read
```#### Write
Write content to a file.
```shell
filecommander write
```#### Delete
Delete a file.
```shell
filecommander delete
```#### List
List all files in a directory.
```shell
filecommander list
```#### Copy
Copy a file to a new destination.
```shell
filecommander copy
```#### Move
Move a file to a new destination.
```shell
filecommander move
```#### Search
Search for files in a directory based on a given search term.
```shell
filecommander search
```OR
```shell
filecommander search
```#### Open
Open a file in the default editor.
```shell
filecommander open
```