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`
|
16
README.md
16
README.md
|
@ -2,19 +2,5 @@
|
|||
|
||||
Script that automates the addition of borders and then resizes the desired image(s).
|
||||
|
||||
## Requirements :
|
||||
Requirements :
|
||||
- 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
|
||||
## author : KazukyAkayashi
|
||||
## git : https://forge.zarchbox.fr/KazukyAkayashi/borsize.sh
|
||||
## author : KazukyAkayashi
|
||||
## description : Script that automates the addition of borders and then resizes the desired image(s).
|
||||
|
||||
## Bash strict mode ####################################
|
||||
|
@ -19,7 +18,7 @@ FILE=web
|
|||
if [ ! -d "$FILE" ];
|
||||
then
|
||||
echo "Create ${FILE} directory"
|
||||
mkdir ${FILE}
|
||||
mkdir web
|
||||
fi
|
||||
|
||||
## Change border or/and resize if you want.
|
||||
|
|
Loading…
Reference in a new issue