An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

Iconic Commands






The icon data is used from vscode-material-icon-theme and devicon.


sample

## 🎈 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
```

![](./sample_image_after_icon_change.png)

## 📷 Icons