Added inc script

master
Leo Coogan 4 years ago
parent dbd3eb4f92
commit 761e357933
No known key found for this signature in database
GPG Key ID: B4F9BE9CF7FF8A5C

@ -39,3 +39,5 @@ Copyright (c) 202x Stéphane Peter - makeself, licensed under GPLv2.0 or later.
db is licensed under the Unlicense. A license copy is provided in LICENSES/Unlicense.txt.
eliza is licensed under the Unlicense. A license copy is provided in LICENSES/Unlicense.txt.
inc is licensed under the Unlicense. A license copy is provided in LICENSES/Unlicense.txt.

@ -11,6 +11,7 @@ A collection of useful scripts. These scripts are written by various authors. At
| ffconv-a | Batch convert from one format to another. |
| ffconv-ar | Batch convert from one format to another without preserving metadata. |
| gpltopnm | Convert gpl to ppm. |
| inc | Copy one file to the number of files by hex in the current directory. |
| makeself | Make self-extractable archives for *nix-likes. |
| matrix-decrypt | Decrypt matrix attachments that are encrypted. |
| matrix-upload | Upload attachment to matrix homeserver. |

@ -0,0 +1,15 @@
#!/usr/bin/env dash
i="0"
ext="swav"
n="00"
ls | wc -l | read l
while [ $i -lt $l ]
do
x="printf "%04X\n" $i"
i="expr $i + 1"
while read f; do
cp $n.$ext $f.$ext;
done
done

@ -6,3 +6,7 @@ vd ~/vimwiki/diary
k ~/Asiakirjat/Koulu
~ ~
e ~/Asiakirjat/Koulu/Englanti
h ~/Asiakirjat/Koulu/History
r ~/RE
g ~/RE/gt
m ~/Asiakirjat/Koulu/Math

@ -1,8 +1,12 @@
alias a="cd ~/Asiakirjat"
alias ~="cd ~"
alias e="cd ~/Asiakirjat/Koulu/Englanti"
alias g="cd ~/RE/gt"
alias h="cd ~/Asiakirjat/Koulu/History"
alias k="cd ~/Asiakirjat/Koulu"
alias m="cd ~/Asiakirjat/Koulu/Math"
alias p="cd ~/Projektit"
alias r="cd ~/RE"
alias t="cd ~/Testi"
alias v="cd ~/vimwiki"
alias vd="cd ~/vimwiki/diary"

Loading…
Cancel
Save