https://github.com/ogty/iconic-commands
📷 Command to change file/folder icons from over 1000 icon designs. You can also register your own icons.
https://github.com/ogty/iconic-commands
command-line-tool file folder icons macos mkdir touch
Last synced: 11 months ago
JSON representation
📷 Command to change file/folder icons from over 1000 icon designs. You can also register your own icons.
- Host: GitHub
- URL: https://github.com/ogty/iconic-commands
- Owner: ogty
- License: mit
- Created: 2022-06-24T11:18:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-25T03:33:44.000Z (over 3 years ago)
- Last Synced: 2023-03-06T18:39:00.019Z (about 3 years ago)
- Topics: command-line-tool, file, folder, icons, macos, mkdir, touch
- Language: Shell
- Homepage:
- Size: 29.6 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Iconic Commands
The icon data is used from vscode-material-icon-theme and devicon.
## 🎈 Feature
- ✅ Creation of iconic files
- ✅ Creation of iconic directories
- ✅ Conversion to iconic files/directories
- ✅ Support for free icons
- ✅ Creation of original icons
- ✅ Replace all existing folders and files with new icons
## 🙇♂️ I am using the following
- [vscode-material-icon-theme](https://github.com/PKief/vscode-material-icon-theme)
- [devicon](https://github.com/devicons/devicon/)
- [librsvg](https://wiki.gnome.org/Projects/LibRsvg)
- [fileicon](https://www.npmjs.com/package/fileicon)
## ⚙️ Setup
```zsh
$ cd ~/
$ git clone https://github.com/ogty/iconic-commands
$ source ~/iconic-commands/setup.sh
```
> **Note**
> If brew and npm are not installed, they will be installed automatically.
> The external commands used in this process are also installed at the same time.
> You may also be asked to enter a password to change permissions.
## 📖 Usage
```zsh
$ ic [options] []
```
## 🤖 Commands
- `file ]>`: Change the icon of the specified file
- `dir ]>`: Change the icon of the specified directory
- `make `: Make your own file icon
- `conv @`: Converte file or directory icon
- `replace `: Replaces all files and directories, including the specified directory, with the appropriate icon from the extension or name.
> **Note**
> Files with the following extensions have a preview function and their icons are not changed.
> - svg
> - png
> - jpg
> - jpeg
> - gif
> - bmp
> - ico
> - tiff
> - tif
> - webp
## 🔍 Options
- `-a, --all`: Can be used with file, dir and make commands
- `-l, --list `: Show available icons
- `-h, --help`: Show usage
## ✏️ Example
```zsh
$ ic file command@sh
$ ic dir fundamentals_of_java@java
$ ic conv foo@tmp
$ ic make your-service-name your-service-logo.svg
$ ic make gopher https://raw.githubusercontent.com/devicons/devicon/master/icons/go/go-original.svg
$ ic -l f
$ ic -l d
$ ic -h
$ ic replace bar
```
### 👀 Change the icon for this repository
```zsh
$ ic replace .
$ ic conv ic@sh & ic conv LICENSE@cer & ic conv README.md@readme
```

## 📷 Icons