Skip to content

Multi-Convert is a tool based on the linux tool convert. Multi-Convert simply helps in bulk conversion of your images.

License

Notifications You must be signed in to change notification settings

hfally/multi-convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MULTI-CONVERT - LINUX (UBUNTU)

MIT multi-convert OS

Introduction

Multi-Convert is a tool based on the ubuntu tool convert. Multi-Convert simply helps in bulk conversion of your images.

Installation

Clone repository into your ~/ directory

Go to your home directory on your terminal:

$ cd ~

Clone multi-convert into your home directory:

$ git clone https://github.com/hfally/multi-convert.git

Add $HOME/multi-convert/bin to your PATH.

How to add to your PATH

Run the command below. There is 70% chances you are using the default bash terminal, but if you happen to be using another like zsh switch .baschrc for .zshrc in the command below.

$ echo 'export PATH="$PATH:$HOME/multi-convert/bin"' >> .bashrc

You will need to source your .bashrc or logout/login (or restart the terminal) for the updates to take effect. To source your .bashrc, simply run:

$ source ~/.bashrc

if you use zsh or any other shell, follow the same route (switching .bashrc as staeted previously)

Basic Usage

  • Go to your workspace on the terminal

    $ cd /path-to-images/

    REPLACE path-to-images with the correct path to all your images

  • Run the command below to do the conversions

    $ multi-convert EXT DEFAULT-CONVERT-ARGUMENTS

    REPLACE EXT with the file extension of the images you want to convert, e.g jpg, JPG, png, etc

    REPLACE DEFAULT-CONVERT-ARGUMENTS with the normal arguments you would have given the convert tool except the file path. You can give as many argument as you want. EXCEPT the file path

    Examples of convert Arguments:

    • -strip
    • -interlace
    • -quality
    • -resize

You can read more on the convert tool by running:

$ convert -help That's it!

You can always get help through $ multi-convert help

EXAMPLE

  • You can use this tool to resize your bulk images with just one simple command.

    $ multi-convert jpg -resize 1029x

  • You can use this tool to reduce quality of images

    $ multi-convert jpg -quality 70%

  • You can run multiple conversion commands once

    $ multi-convert jpg -resize 1029x -quality 70%

This commands will not touch your original images, instead, they will create a new folder and store the converted ones there. The folder's naming structure is multi-TIMESTANP.

Supported OS

Ubuntu is the only supported distro for now, however, its likely it works on Debian too.

License

Multi-Convert is open-sourced software licensed under the MIT license

Contribution

For contribution and personal bug reporting, send a mail to the author tofex4eva@yahoo.com

About

Multi-Convert is a tool based on the linux tool convert. Multi-Convert simply helps in bulk conversion of your images.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages