Cleaned things up, added README
parent
7ceec86bd1
commit
13ee5c5bd9
@ -0,0 +1,10 @@
|
||||
# Scripts
|
||||
Scripts I made out of necessity.
|
||||
|
||||
## Scripts info
|
||||
| Script | Info |
|
||||
|---------|-----------------------------------------------------|
|
||||
| scanif | Scan several documents one-by-one with SANE/CUPS. |
|
||||
| ugrade | Upgrade packages for every package manager. |
|
||||
| yt-dl | youtube-dl "magic" download. |
|
||||
| yt-mpeg | Turn wav/cover image into a video optimised for yt. |
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/dash
|
||||
i=0
|
||||
while true; do
|
||||
read -p "Ready to scan. Scan your item(s)? y/N " yn
|
||||
@ -1,3 +1,4 @@
|
||||
#!/bin/dash
|
||||
sudo dnf upgrade -y
|
||||
sudo pacman -Syu
|
||||
pip-upgrade
|
||||
@ -1,3 +1,4 @@
|
||||
#!/bin/dash
|
||||
echo Playlist URL:
|
||||
read url
|
||||
youtube-dl "$url" --yes-playlist --audio-format flac -x --audio-quality 0 --add-metadata -o "%(title)s.%(ext)s"
|
||||
@ -1,3 +1,4 @@
|
||||
#!/bin/dash
|
||||
echo Cover art:
|
||||
read cover
|
||||
echo Audio:
|
||||
@ -0,0 +1 @@
|
||||
cp bin/* /usr/local/bin
|
||||
Loading…
Reference in New Issue