Compare commits
No commits in common. "21689c98b091f8069b72abaf705122cd8cef2049" and "03c693c20a9fad83d8d2e43a8710979d07d23bf9" have entirely different histories.
21689c98b0
...
03c693c20a
3 changed files with 4 additions and 25 deletions
|
@ -1,6 +0,0 @@
|
||||||
# Changelog
|
|
||||||
|
|
||||||
- Remplace `mkdir web` by `mkdir ${FILE}`.
|
|
||||||
- Remplace `-path web` by `-path ${FILE}`.
|
|
||||||
- Add git (link) in `borsize.sh`
|
|
||||||
- Add Use section in `README.md`
|
|
18
README.md
18
README.md
|
@ -2,19 +2,5 @@
|
||||||
|
|
||||||
Script that automates the addition of borders and then resizes the desired image(s).
|
Script that automates the addition of borders and then resizes the desired image(s).
|
||||||
|
|
||||||
## Requirements :
|
Requirements :
|
||||||
- Imagemagick
|
- Imagemagick
|
||||||
|
|
||||||
## Use
|
|
||||||
Add an alias to your `.bashrc` or `bash_profile`.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Borsize
|
|
||||||
alias borsize="$HOME/Git/borsize.sh/borsize.sh"
|
|
||||||
```
|
|
||||||
|
|
||||||
Once done, save and close the file. Make the aliases available in your current session by typing:
|
|
||||||
|
|
||||||
```
|
|
||||||
source ~/.bash.rc or .bash_profile
|
|
||||||
```
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
## author : KazukyAkayashi
|
## author : KazukyAkayashi
|
||||||
## git : https://forge.zarchbox.fr/KazukyAkayashi/borsize.sh
|
|
||||||
## description : Script that automates the addition of borders and then resizes the desired image(s).
|
## description : Script that automates the addition of borders and then resizes the desired image(s).
|
||||||
|
|
||||||
## Bash strict mode ####################################
|
## Bash strict mode ####################################
|
||||||
|
@ -19,7 +18,7 @@ FILE=web
|
||||||
if [ ! -d "$FILE" ];
|
if [ ! -d "$FILE" ];
|
||||||
then
|
then
|
||||||
echo "Create ${FILE} directory"
|
echo "Create ${FILE} directory"
|
||||||
mkdir ${FILE}
|
mkdir web
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Change border or/and resize if you want.
|
## Change border or/and resize if you want.
|
||||||
|
|
Loading…
Reference in a new issue